|
| 1 | +! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-UA2007 --implicit-check-not=error: |
| 2 | +! RUN: llvm-mc %s -triple=sparcv9 -mattr=+ua2007 -show-encoding | FileCheck %s --check-prefixes=UA2007 |
| 3 | + |
| 4 | +!! UA 2007 instructions. |
| 5 | + |
| 6 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 7 | +! UA2007: fmadds %f1, %f3, %f5, %f7 ! encoding: [0x8f,0xb8,0x4a,0x23] |
| 8 | +fmadds %f1, %f3, %f5, %f7 |
| 9 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 10 | +! UA2007: fmaddd %f0, %f2, %f4, %f6 ! encoding: [0x8d,0xb8,0x08,0x42] |
| 11 | +fmaddd %f0, %f2, %f4, %f6 |
| 12 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 13 | +! UA2007: fmsubs %f1, %f3, %f5, %f7 ! encoding: [0x8f,0xb8,0x4a,0xa3] |
| 14 | +fmsubs %f1, %f3, %f5, %f7 |
| 15 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 16 | +! UA2007: fmsubd %f0, %f2, %f4, %f6 ! encoding: [0x8d,0xb8,0x08,0xc2] |
| 17 | +fmsubd %f0, %f2, %f4, %f6 |
| 18 | + |
| 19 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 20 | +! UA2007: fnmadds %f1, %f3, %f5, %f7 ! encoding: [0x8f,0xb8,0x4b,0xa3] |
| 21 | +fnmadds %f1, %f3, %f5, %f7 |
| 22 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 23 | +! UA2007: fnmaddd %f0, %f2, %f4, %f6 ! encoding: [0x8d,0xb8,0x09,0xc2] |
| 24 | +fnmaddd %f0, %f2, %f4, %f6 |
| 25 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 26 | +! UA2007: fnmsubs %f1, %f3, %f5, %f7 ! encoding: [0x8f,0xb8,0x4b,0x23] |
| 27 | +fnmsubs %f1, %f3, %f5, %f7 |
| 28 | +! NO-UA2007: error: instruction requires a CPU feature not currently enabled |
| 29 | +! UA2007: fnmsubd %f0, %f2, %f4, %f6 ! encoding: [0x8d,0xb8,0x09,0x42] |
| 30 | +fnmsubd %f0, %f2, %f4, %f6 |
0 commit comments