diff options
Diffstat (limited to 'llvm/test/MC/Mips/crc/set-crc-directive.s')
| -rw-r--r-- | llvm/test/MC/Mips/crc/set-crc-directive.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/crc/set-crc-directive.s b/llvm/test/MC/Mips/crc/set-crc-directive.s new file mode 100644 index 00000000000..ab417ac7bb1 --- /dev/null +++ b/llvm/test/MC/Mips/crc/set-crc-directive.s @@ -0,0 +1,7 @@ +# RUN: llvm-mc %s -show-encoding -triple=mips-unknown-linux-gnu \ +# RUN: -mcpu=mips32r6 | FileCheck %s +# RUN: llvm-mc %s -show-encoding -triple=mips64-unknown-linux-gnu \ +# RUN: -mcpu=mips64r6 | FileCheck %s + + .set crc + crc32b $1, $2, $1 # CHECK: crc32b $1, $2, $1 # encoding: [0x7c,0x41,0x00,0x0f] |

