mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[ARM] Removed hasSideEffects from signed/unsigned saturates
Removed hasSideEffects from SSAT and USAT so that they are no longer marked as unpredictable. Differential Revision: https://reviews.llvm.org/D88545
This commit is contained in:
parent
b964542465
commit
1ebfeef2a5
@ -2575,7 +2575,6 @@ def t2USADA8 : T2FourReg_mac<0, 0b111, 0b0000, (outs rGPR:$Rd),
|
||||
Requires<[IsThumb2, HasDSP]>;
|
||||
|
||||
// Signed/Unsigned saturate.
|
||||
let hasSideEffects = 1 in
|
||||
class T2SatI<dag iops, string opc, string asm>
|
||||
: T2I<(outs rGPR:$Rd), iops, NoItinerary, opc, asm, []> {
|
||||
bits<4> Rd;
|
||||
|
@ -746,9 +746,9 @@ yield
|
||||
# CHECK-NEXT: 1 1 1.00 smulwt r0, r1, r2
|
||||
# CHECK-NEXT: 1 2 1.00 smusd r0, r1, r2
|
||||
# CHECK-NEXT: 1 2 1.00 smusdx r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 U ssat r0, #1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 U ssat r0, #1, r2, lsl #1
|
||||
# CHECK-NEXT: 1 1 1.00 U ssat16 r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 ssat r0, #1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 ssat r0, #1, r2, lsl #1
|
||||
# CHECK-NEXT: 1 1 1.00 ssat16 r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 * * U ssax r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 * * U ssbb
|
||||
# CHECK-NEXT: 1 1 1.00 * * U ssub16 r0, r1, r2
|
||||
@ -858,9 +858,9 @@ yield
|
||||
# CHECK-NEXT: 1 1 1.00 uqsub8 r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 usad8 r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 usada8 r0, r1, r2, r3
|
||||
# CHECK-NEXT: 1 1 1.00 U usat r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 U usat r0, #1, r1, lsl #1
|
||||
# CHECK-NEXT: 1 1 1.00 U usat16 r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 usat r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 usat r0, #1, r1, lsl #1
|
||||
# CHECK-NEXT: 1 1 1.00 usat16 r0, #1, r1
|
||||
# CHECK-NEXT: 1 1 1.00 * * U usax r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 * * U usub16 r0, r1, r2
|
||||
# CHECK-NEXT: 1 1 1.00 * * U usub8 r0, r1, r2
|
||||
|
Loading…
Reference in New Issue
Block a user