|
From: | Richard Henderson |
Subject: | Re: [PATCH 04/30] tcg/loongarch: Add generated instruction opcodes and encoding helpers |
Date: | Mon, 20 Sep 2021 08:55:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/20/21 1:04 AM, WANG Xuerui wrote:
Signed-off-by: WANG Xuerui<git@xen0n.name> --- tcg/loongarch/tcg-insn-defs.c.inc | 1080 +++++++++++++++++++++++++++++ 1 file changed, 1080 insertions(+) create mode 100644 tcg/loongarch/tcg-insn-defs.c.inc diff --git a/tcg/loongarch/tcg-insn-defs.c.inc b/tcg/loongarch/tcg-insn-defs.c.inc new file mode 100644 index 0000000000..413f7ffc12 --- /dev/null +++ b/tcg/loongarch/tcg-insn-defs.c.inc @@ -0,0 +1,1080 @@ +/* SPDX-License-Identifier: MIT */ +/* + * LoongArch instruction formats, opcodes, and encoders for TCG use. + * + * Code generated by genqemutcgdefs from + *https://github.com/loongson-community/loongarch-opcodes, + * from commit bb5234081663faaefb6b921a7848b18e19519890. + * DO NOT EDIT. + */ +
Acked-by: Richard Henderson <richard.henderson@linaro.org>
+static int32_t encode_d_slot(LoongArchInsn opc, uint32_t d) + __attribute__((unused)); + +static int32_t encode_d_slot(LoongArchInsn opc, uint32_t d)
Just an FYI: you can add the attribute directly to the function definition like so static int32_t __attribute__((unused)) encode_d_slot(LoongArchInsn opc, uint32_t d) { ... } r~
[Prev in Thread] | Current Thread | [Next in Thread] |