Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull, …
…umaal Differential Revision: https://reviews.llvm.org/D74120
- Loading branch information
Pierre van Houtryve
committed
Feb 7, 2020
1 parent
39f50da
commit e8c3a6c
Showing
3 changed files
with
119 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@ RUN: not llvm-mc -triple thumbv7m-eabi -mattr=+dsp < %s 2>&1 | FileCheck %s | ||
@ RUN: not llvm-mc -triple armv8 -mattr=+dsp < %s 2>&1 | FileCheck %s | ||
|
||
smlal r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlalbb r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlalbt r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlaltb r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlaltt r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlald r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlaldx r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlsld r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smlsldx r1, r1, r3, r4 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
smull r1, r1, r2, r3 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
umull r1, r1, r2, r3 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
umlal r1, r1, r2, r3 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different | ||
umaal r1, r1, r2, r3 | ||
@ CHECK: [[@LINE-1]]:{{[0-9]+}}: error: unpredictable instruction, RdHi and RdLo must be different |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters