mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
target/mips: add Octeon COP2 crypto helper plumbing
Add the Octeon COP2 crypto helper source file and build it with the MIPS TCG target. This provides the common compilation unit for the COP2 engine helpers. The instruction dispatch itself remains fully decoded by decodetree, and operation selectors call per-operation helpers rather than a common selector-dispatch helper. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260608-mips-octeon-missing-insns-v2-v16-2-daef7a0d8b04@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
304df6d35e
commit
3bbe7ae19e
@@ -18,6 +18,7 @@ mips_ss.add(files(
|
||||
'lmmi_helper.c',
|
||||
'msa_helper.c',
|
||||
'msa_translate.c',
|
||||
'octeon_crypto.c',
|
||||
'op_helper.c',
|
||||
'rel6_translate.c',
|
||||
'translate.c',
|
||||
|
||||
16
target/mips/tcg/octeon_crypto.c
Normal file
16
target/mips/tcg/octeon_crypto.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*
|
||||
* MIPS Octeon crypto emulation helpers.
|
||||
*
|
||||
* Copyright (c) 2026 James Hilliard
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "internal.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "crypto/aes.h"
|
||||
#include "crypto/sm4.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "qemu/host-utils.h"
|
||||
Reference in New Issue
Block a user