diff options
Diffstat (limited to 'llvm/test/MC/Sparc')
| -rw-r--r-- | llvm/test/MC/Sparc/sparcv9-instructions.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/Sparc/sparcv9-instructions.s b/llvm/test/MC/Sparc/sparcv9-instructions.s index e2cb87e0630..6125469b8e8 100644 --- a/llvm/test/MC/Sparc/sparcv9-instructions.s +++ b/llvm/test/MC/Sparc/sparcv9-instructions.s @@ -26,3 +26,12 @@ ! V9: popc %g1, %g2 ! encoding: [0x85,0x70,0x00,0x01] popc %g1, %g2 + + ! V8: error: instruction requires a CPU feature not currently enabled + ! V8-NEXT: signx %g1, %g2 + ! V9: sra %g1, %g0, %g2 ! encoding: [0x85,0x38,0x40,0x00] + signx %g1, %g2 + ! V8: error: instruction requires a CPU feature not currently enabled + ! V8-NEXT: signx %g1 + ! V9: sra %g1, %g0, %g1 ! encoding: [0x83,0x38,0x40,0x00] + signx %g1 |

