summaryrefslogtreecommitdiff
path: root/test/MC/Sparc/sparc-fp-instructions.s
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2014-03-02 19:56:19 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2014-03-02 19:56:19 +0000
commit833687be0e2c3f38086abcaf1b9fb46d972c97b0 (patch)
tree134f80fb5fa784823e40832692164b69772092de /test/MC/Sparc/sparc-fp-instructions.s
parentcf06410678a40c09c4ff311cebfe202fa55e3b46 (diff)
downloadllvm-833687be0e2c3f38086abcaf1b9fb46d972c97b0.tar.gz
llvm-833687be0e2c3f38086abcaf1b9fb46d972c97b0.tar.bz2
llvm-833687be0e2c3f38086abcaf1b9fb46d972c97b0.tar.xz
[Sparc] Add fcmpe* instructions to Sparc backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Sparc/sparc-fp-instructions.s')
-rw-r--r--test/MC/Sparc/sparc-fp-instructions.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/Sparc/sparc-fp-instructions.s b/test/MC/Sparc/sparc-fp-instructions.s
index 88a055d7fc..fdeaa8c088 100644
--- a/test/MC/Sparc/sparc-fp-instructions.s
+++ b/test/MC/Sparc/sparc-fp-instructions.s
@@ -103,6 +103,13 @@
fcmpd %f0, %f4
fcmpq %f0, %f4
+ ! CHECK: fcmpes %fcc0, %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xa4]
+ ! CHECK: fcmped %fcc0, %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xc4]
+ ! CHECK: fcmpeq %fcc0, %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0xe4]
+ fcmpes %f0, %f4
+ fcmped %f0, %f4
+ fcmpeq %f0, %f4
+
! CHECK: fcmps %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x24]
! CHECK: fcmpd %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x44]
! CHECK: fcmpq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0x64]
@@ -110,6 +117,13 @@
fcmpd %fcc2, %f0, %f4
fcmpq %fcc2, %f0, %f4
+ ! CHECK: fcmpes %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xa4]
+ ! CHECK: fcmped %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xc4]
+ ! CHECK: fcmpeq %fcc2, %f0, %f4 ! encoding: [0x85,0xa8,0x0a,0xe4]
+ fcmpes %fcc2, %f0, %f4
+ fcmped %fcc2, %f0, %f4
+ fcmpeq %fcc2, %f0, %f4
+
! CHECK: fxtos %f0, %f4 ! encoding: [0x89,0xa0,0x10,0x80]
! CHECK: fxtod %f0, %f4 ! encoding: [0x89,0xa0,0x11,0x00]
! CHECK: fxtoq %f0, %f4 ! encoding: [0x89,0xa0,0x11,0x80]