mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 08:51:05 +00:00
target/arm/translate-a64:Remove redundant statement in disas_simd_two_reg_misc_fp16()
Clang static code analyzer show warning: target/arm/translate-a64.c:13007:5: warning: Value stored to 'rd' is never read rd = extract32(insn, 0, 5); ^ ~~~~~~~~~~~~~~~~~~~~~ target/arm/translate-a64.c:13008:5: warning: Value stored to 'rn' is never read rn = extract32(insn, 5, 5); ^ ~~~~~~~~~~~~~~~~~~~~~ Backports fa71dd531c12ad9a05cdd78392e9fc2a30ea921d
This commit is contained in:
parent
9bac2113cd
commit
46af765bbb
|
@ -13324,9 +13324,6 @@ static void disas_simd_two_reg_misc_fp16(DisasContext *s, uint32_t insn)
|
|||
fpop = deposit32(opcode, 5, 1, a);
|
||||
fpop = deposit32(fpop, 6, 1, u);
|
||||
|
||||
rd = extract32(insn, 0, 5);
|
||||
rn = extract32(insn, 5, 5);
|
||||
|
||||
switch (fpop) {
|
||||
case 0x1d: /* SCVTF */
|
||||
case 0x5d: /* UCVTF */
|
||||
|
|
Loading…
Reference in a new issue