mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
target/ppc: fix typo in SIMM5 extraction helper
As the macro name suggests, the argument should be signed and not unsigned. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
33c6a8b58e
commit
ffcd21acb4
@ -124,7 +124,7 @@ EXTRACT_SHELPER(SIMM, 0, 16);
|
||||
/* 16 bits unsigned immediate value */
|
||||
EXTRACT_HELPER(UIMM, 0, 16);
|
||||
/* 5 bits signed immediate value */
|
||||
EXTRACT_HELPER(SIMM5, 16, 5);
|
||||
EXTRACT_SHELPER(SIMM5, 16, 5);
|
||||
/* 5 bits signed immediate value */
|
||||
EXTRACT_HELPER(UIMM5, 16, 5);
|
||||
/* 4 bits unsigned immediate value */
|
||||
|
Loading…
Reference in New Issue
Block a user