diff options
Diffstat (limited to 'cpu/cris.cpu')
-rw-r--r-- | cpu/cris.cpu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 32a1e2d..5d50307 100644 --- a/cpu/cris.cpu +++ b/cpu/cris.cpu @@ -3668,10 +3668,10 @@ "Perform word-wise swap within each dword" (sequence SI - ((SI tmpb)) - (set tmpb x) - (or (and (sll tmpb 16) #xffff0000) - (and (srl tmpb 16) #xffff))) + ((SI tmpw)) + (set tmpw x) + (or (and (sll tmpw 16) #xffff0000) + (and (srl tmpw 16) #xffff))) ) (define-pmacro (swap-_ x) |