mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[SPARC] Both GNU and Solaris as support eq as condition code for integer ops.
llvm-svn: 247804
This commit is contained in:
parent
448240eaad
commit
137c62f2a3
@ -250,6 +250,7 @@ defm : int_cond_alias<"n", 0b0000>;
|
||||
defm : int_cond_alias<"ne", 0b1001>;
|
||||
defm : int_cond_alias<"nz", 0b1001>; // same as ne
|
||||
defm : int_cond_alias<"e", 0b0001>;
|
||||
defm : int_cond_alias<"eq", 0b0001>; // same as e
|
||||
defm : int_cond_alias<"z", 0b0001>; // same as e
|
||||
defm : int_cond_alias<"g", 0b1010>;
|
||||
defm : int_cond_alias<"le", 0b0010>;
|
||||
|
@ -64,6 +64,10 @@
|
||||
! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
|
||||
bz .BB0
|
||||
|
||||
! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A]
|
||||
! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
|
||||
beq .BB0
|
||||
|
||||
! CHECK: bg .BB0 ! encoding: [0x14,0b10AAAAAA,A,A]
|
||||
! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
|
||||
bg .BB0
|
||||
|
Loading…
x
Reference in New Issue
Block a user