mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
tcg: Convert bswap64 to TCGOutOpUnary
Use TCGOutOpUnary instead of TCGOutOpBswap because the flags are not used with this opcode; they are merely present for uniformity with the smaller bswaps. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
7498d882cb
commit
613b571c93
23 changed files with 144 additions and 104 deletions
|
@ -2163,6 +2163,10 @@ static const TCGOutOpBswap outop_bswap32 = {
|
|||
.out_rr = tgen_bswap32,
|
||||
};
|
||||
|
||||
static const TCGOutOpUnary outop_bswap64 = {
|
||||
.base.static_constraint = C_NotImplemented,
|
||||
};
|
||||
|
||||
static void tgen_neg(TCGContext *s, TCGType type, TCGReg a0, TCGReg a1)
|
||||
{
|
||||
tgen_subfi(s, type, a0, 0, a1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue