diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2019-01-02 09:14:15 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-01-09 09:28:13 +1100 |
commit | ffcd21acb45ade8591e78ca78af3f567a4bb2e9b (patch) | |
tree | 6d3b480dae55cdcd2d03e6cc5a07633ea4bda663 /target/ppc | |
parent | 33c6a8b58e239d8199ff93dba45ceddf413d5f15 (diff) | |
download | qemu-ffcd21acb45ade8591e78ca78af3f567a4bb2e9b.zip qemu-ffcd21acb45ade8591e78ca78af3f567a4bb2e9b.tar.gz qemu-ffcd21acb45ade8591e78ca78af3f567a4bb2e9b.tar.bz2 |
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>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/internal.h b/target/ppc/internal.h index a9bcadf..8b35863 100644 --- a/target/ppc/internal.h +++ b/target/ppc/internal.h @@ -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 */ |