summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Sparc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/Sparc')
-rw-r--r--llvm/test/MC/Sparc/sparcv9-instructions.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/Sparc/sparcv9-instructions.s b/llvm/test/MC/Sparc/sparcv9-instructions.s
index 37f4c8b2f6b..e2cb87e0630 100644
--- a/llvm/test/MC/Sparc/sparcv9-instructions.s
+++ b/llvm/test/MC/Sparc/sparcv9-instructions.s
@@ -21,3 +21,8 @@
! V9: subxcc %g1, %g2, %g3 ! encoding: [0x86,0xe0,0x40,0x02]
subccc %g1, %g2, %g3
+ ! V8: error: instruction requires a CPU feature not currently enabled
+ ! V8-NEXT: popc %g1, %g2
+ ! V9: popc %g1, %g2 ! encoding: [0x85,0x70,0x00,0x01]
+ popc %g1, %g2
+
OpenPOWER on IntegriCloud