mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
Temporary disable 16 bit bswap
llvm-svn: 76063
This commit is contained in:
parent
94e21c8740
commit
3e8bb65ec8
@ -494,9 +494,10 @@ def BSWAP64rr : RREI<0xB90F,
|
||||
"lrvgr\t{$dst, $src}",
|
||||
[(set GR64:$dst, (bswap GR64:$src))]>;
|
||||
|
||||
def BSWAP16rm : RXYI<0x1FE3, (outs GR32:$dst), (ins rriaddr:$src),
|
||||
"lrvh\t{$dst, $src}",
|
||||
[(set GR32:$dst, (bswap (extloadi32i16 rriaddr:$src)))]>;
|
||||
// FIXME: this is invalid pattern for big-endian
|
||||
//def BSWAP16rm : RXYI<0x1FE3, (outs GR32:$dst), (ins rriaddr:$src),
|
||||
// "lrvh\t{$dst, $src}",
|
||||
// [(set GR32:$dst, (bswap (extloadi32i16 rriaddr:$src)))]>;
|
||||
def BSWAP32rm : RXYI<0x1EE3, (outs GR32:$dst), (ins rriaddr:$src),
|
||||
"lrv\t{$dst, $src}",
|
||||
[(set GR32:$dst, (bswap (load rriaddr:$src)))]>;
|
||||
|
@ -1,3 +1,4 @@
|
||||
; XFAIL
|
||||
; RUN: llvm-as < %s | llc | grep lrvr | count 2
|
||||
; RUN: llvm-as < %s | llc | grep lrvgr | count 1
|
||||
; RUN: llvm-as < %s | llc | grep lrvh | count 1
|
||||
|
Loading…
Reference in New Issue
Block a user