summaryrefslogtreecommitdiff
path: root/gcc/config/microblaze
diff options
context:
space:
mode:
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-23 01:29:15 +0000
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-23 01:29:15 +0000
commit2a18cf5504e1903f06ecb23bfafbd836f6199fce (patch)
tree36f47e011aada9292bc0ffe001b0fc94f5aba576 /gcc/config/microblaze
parent0549b1dd48c199c80e2ee097d63c2c8fa1076a52 (diff)
downloadgcc-2a18cf5504e1903f06ecb23bfafbd836f6199fce.tar.gz
2014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
* config/microblaze/microblaze.md: Correct bswaphi2 insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206952 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/microblaze')
-rw-r--r--gcc/config/microblaze/microblaze.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
index 796d4c65b3c..46a7eddd96d 100644
--- a/gcc/config/microblaze/microblaze.md
+++ b/gcc/config/microblaze/microblaze.md
@@ -365,7 +365,8 @@
[(set (match_operand:HI 0 "register_operand" "=r")
(bswap:HI (match_operand:HI 1 "register_operand" "r")))]
"TARGET_REORDER"
- "swaph %0, %1"
+ "swapb %0, %1
+ swaph %0, %0"
)
;;----------------------------------------------------------------