summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@mips.com>2018-05-11 15:21:40 +0000
committerSimon Dardis <simon.dardis@mips.com>2018-05-11 15:21:40 +0000
commitd4169ad7c1493ec94df03d6ecc316b2ea22a0b3e (patch)
tree3d17bf45d0abdae8cdaa557cb923793636a7d740 /llvm/test/MC/Mips
parent032a01f74acf5728c024e42ce991c0a34492f32c (diff)
downloadbcm5719-llvm-d4169ad7c1493ec94df03d6ecc316b2ea22a0b3e.tar.gz
bcm5719-llvm-d4169ad7c1493ec94df03d6ecc316b2ea22a0b3e.zip
[mips] Enable disassembly of fused (negative) multiply add/sub instructions
Reviewers: atanasyan, smaksimovic, abeserminji Differential Revision: https://reviews.llvm.org/D46392 llvm-svn: 332097
Diffstat (limited to 'llvm/test/MC/Mips')
-rw-r--r--llvm/test/MC/Mips/micromips-fpu-instructions.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/micromips-fpu-instructions.s b/llvm/test/MC/Mips/micromips-fpu-instructions.s
index 8afc660c9bc..3632c71bb71 100644
--- a/llvm/test/MC/Mips/micromips-fpu-instructions.s
+++ b/llvm/test/MC/Mips/micromips-fpu-instructions.s
@@ -153,12 +153,19 @@
# CHECK-EB: movf.d $f4, $f6, $fcc0 # encoding: [0x54,0x86,0x02,0x20]
# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} MOVF_D32_MM
# CHECK-EB: madd.s $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x01]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} MADD_S_MM
# CHECK-EB: madd.d $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x09]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} MADD_D32_MM
# CHECK-EB: msub.s $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x21]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} MSUB_S_MM
# CHECK-EB: msub.d $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x29]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} MSUB_D32_MM
# CHECK-EB: nmadd.s $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x02]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} NMADD_S_MM
# CHECK-EB: nmadd.d $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x0a]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} NMADD_D32_MM
# CHECK-EB: nmsub.s $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x22]
+# CHECK-EB-NEXT: # <MCInst #{{[0-9]+}} NMSUB_S_MM
# CHECK-EB: nmsub.d $f2, $f4, $f6, $f8 # encoding: [0x55,0x06,0x11,0x2a]
add.s $f4, $f6, $f8
OpenPOWER on IntegriCloud