cpu/
* m32c.cpu (f-dsp-32-u24): Fix mode of extract handler. (f-dsp-40-u20, f-dsp-40-u24): Ditto. opcodes/ * cgen-ibld.in: #include "cgen/basic-modes.h". * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
This commit is contained in:
parent
7c5b2b7a25
commit
fe8afbc48f
16 changed files with 227 additions and 200 deletions
25
cpu/m32c.cpu
25
cpu/m32c.cpu
|
@ -617,12 +617,12 @@
|
|||
(or USI
|
||||
(and (srl value 16) #x0000ff)
|
||||
(and value #x00ff00))
|
||||
(and (sll value 16) #xff0000))) ; insert
|
||||
(and (sll value 16) #xff0000))) ; insert
|
||||
((value pc) (or USI
|
||||
(or USI
|
||||
(and USI (srl UHI value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll UHI value 16) #xff0000))) ; extract
|
||||
(and USI (srl value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll value 16) #xff0000))) ; extract
|
||||
)
|
||||
|
||||
(df f-dsp-40-u20 "20 bit unsigned" (all-isas) 40 20 UINT
|
||||
|
@ -630,24 +630,25 @@
|
|||
(or USI
|
||||
(and (srl value 16) #x0000ff)
|
||||
(and value #x00ff00))
|
||||
(and (sll value 16) #x0f0000))) ; insert
|
||||
(and (sll value 16) #x0f0000))) ; insert
|
||||
((value pc) (or USI
|
||||
(or USI
|
||||
(and USI (srl UHI value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll UHI value 16) #x0f0000))) ; extract
|
||||
(and USI (srl value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll value 16) #x0f0000))) ; extract
|
||||
)
|
||||
|
||||
(df f-dsp-40-u24 "24 bit unsigned" (all-isas) 40 24 UINT
|
||||
((value pc) (or USI
|
||||
(or USI
|
||||
(and (srl value 16) #x0000ff)
|
||||
(and value #x00ff00))
|
||||
(and (sll value 16) #xff0000))) ; insert
|
||||
(and (sll value 16) #xff0000))) ; insert
|
||||
((value pc) (or USI
|
||||
(or USI
|
||||
(and USI (srl UHI value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll UHI value 16) #xff0000))) ; extract
|
||||
(and USI (srl value 16) #x0000ff)
|
||||
(and USI value #x00ff00))
|
||||
(and USI (sll value 16) #xff0000))) ; extract
|
||||
)
|
||||
|
||||
(dnmf f-dsp-40-s32 "32 bit signed" (all-isas) INT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue