diff options
author | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:15:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:15:25 +0000 |
commit | 7579829884ab4340f4b6980e10c3797d9ed30294 (patch) | |
tree | f2d691642d399adbf6b7e9d7389ba66bd664e555 /cpu | |
parent | 27b1cc72b802ba6055e2c2929f7089375568939f (diff) | |
download | gdb-7579829884ab4340f4b6980e10c3797d9ed30294.zip gdb-7579829884ab4340f4b6980e10c3797d9ed30294.tar.gz gdb-7579829884ab4340f4b6980e10c3797d9ed30294.tar.bz2 |
FRV: Use a signed 6-bit immediate value not unsigned for mdrotli insn.
Use maintainer mode to regenerate ports.
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ChangeLog | 5 | ||||
-rw-r--r-- | cpu/frv.cpu | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog index bef4ff8..36bbc29 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,8 @@ +2003-06-03 Nick Clifton <nickc@redhat.com> + + * frv.cpu (media-dual-word-rotate-r-r): Use a signed 6-bit + immediate value not unsigned. + 2003-06-03 Andrew Cagney <cagney@redhat.com> Contributed by Red Hat. diff --git a/cpu/frv.cpu b/cpu/frv.cpu index 82a8817..6367737 100644 --- a/cpu/frv.cpu +++ b/cpu/frv.cpu @@ -6660,16 +6660,16 @@ (dni name (comment) ((UNIT FM0) (MACH fr400) (FR400-MAJOR M-2)) - (.str name "$pack $FRinti,$u6,$FRintk") - (+ pack FRintk op FRinti ope u6) + (.str name "$pack $FRinti,$s6,$FRintk") + (+ pack FRintk op FRinti ope s6) (if (orif (register-unaligned FRinti 2) (register-unaligned FRintk 2)) (c-call VOID "@cpu@_media_register_not_aligned") (sequence () - (set FRintk (operation FRinti (and u6 #x1f))) + (set FRintk (operation FRinti (and s6 #x1f))) (set (nextreg h-fr_int FRintk 1) (operation (nextreg h-fr_int FRinti 1) - (and u6 #x1f))))) + (and s6 #x1f))))) ((fr400 (unit u-media-3-quad))) ) ) |