Changeset 1973 for binutils/trunk/cpu/fr30.cpu
- Timestamp:
- Feb 6, 2017, 1:00:00 PM (8 years ago)
- Location:
- binutils/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binutils/trunk ¶
-
Property svn:mergeinfo
set to
/binutils/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
TabularUnified binutils/trunk/cpu/fr30.cpu ¶
r970 r1973 163 163 (df f-i4 "4 bit sign extended" () 8 4 INT #f #f) 164 164 (df f-m4 "4 bit minus extended" () 8 4 UINT 165 ; ??? This field takes a value in the range [-16,-1] but there 166 ; doesn't seem a way to tell CGEN that. Use an unsigned field and 167 ; disable range checks on insertion by masking. Restore the sign 168 ; on extraction. CGEN generated documentation for insns that use 169 ; this field will be wrong. 165 170 ((value pc) (and WI value (const #xf))) 166 ; ??? On a 64 bit host this doesn't get completely sign extended 167 ; if the value is recorded in a long, as it is during extraction. 168 ; Various fixes exist, pick one. 169 ((value pc) (or WI value (sll WI (const -1) (const 4)))) 171 ((value pc) (or WI value (const -16))) 170 172 ) 171 173 (dnf f-u8 "8 bit unsigned" () 8 8)
Note:
See TracChangeset
for help on using the changeset viewer.