aboutsummaryrefslogtreecommitdiff
path: root/cpu/fr30.cpu
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-03-02 08:58:07 +1030
committerAlan Modra <amodra@gmail.com>2016-03-02 13:35:41 +1030
commit62de1c630f16c21418464727692bcd29e23ef1b0 (patch)
treec668a9536a57051a0e24f44444168d4ae7fd3805 /cpu/fr30.cpu
parente14ec281fb9f6c4cc7bf59ed18d2acaf02d4d0f9 (diff)
downloadgdb-62de1c630f16c21418464727692bcd29e23ef1b0.zip
gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.gz
gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.bz2
Fix shift left warning at source
cpu/ * fr30.cpu (f-m4): Replace -1 << 4 with -16. opcodes/ * fr30-ibld.c: Regenerate.
Diffstat (limited to 'cpu/fr30.cpu')
-rw-r--r--cpu/fr30.cpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/fr30.cpu b/cpu/fr30.cpu
index 6c8e8ce..0124647 100644
--- a/cpu/fr30.cpu
+++ b/cpu/fr30.cpu
@@ -163,7 +163,7 @@
; ??? On a 64 bit host this doesn't get completely sign extended
; if the value is recorded in a long, as it is during extraction.
; Various fixes exist, pick one.
- ((value pc) (or WI value (sll WI (const -1) (const 4))))
+ ((value pc) (or WI value (const -16)))
)
(dnf f-u8 "8 bit unsigned" () 8 8)
(dnf f-i8 "8 bit unsigned" () 4 8)