diff options
Diffstat (limited to 'test/MC/Sparc/sparcv8-instructions.s')
-rw-r--r-- | test/MC/Sparc/sparcv8-instructions.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/Sparc/sparcv8-instructions.s b/test/MC/Sparc/sparcv8-instructions.s new file mode 100644 index 0000000000..27b32976f3 --- /dev/null +++ b/test/MC/Sparc/sparcv8-instructions.s @@ -0,0 +1,8 @@ +! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s + + ! CHECK: fcmps %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0x24] + ! CHECK: fcmpd %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0x44] + ! CHECK: fcmpq %f0, %f4 ! encoding: [0x81,0xa8,0x0a,0x64] + fcmps %f0, %f4 + fcmpd %f0, %f4 + fcmpq %f0, %f4 |