brintos

brintos / llvm-project-archived public Read only

0
0
Text · 757 B · 995ff05 Raw
25 lines · plain
1# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \2# RUN:        FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \4# RUN:        llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST5 6armmove $a0, $a1, 17# CHECK-INST: armmove $a0, $a1, 18# CHECK-ENCODING: encoding: [0xa4,0x44,0x36,0x00]9 10armmov.w $a0, 111# CHECK-INST: armmov.w $a0, 112# CHECK-ENCODING: encoding: [0x9d,0xc4,0x3f,0x00]13 14armmov.d $a0, 115# CHECK-INST: armmov.d $a0, 116# CHECK-ENCODING: encoding: [0x9e,0xc4,0x3f,0x00]17 18armmfflag $a0, 119# CHECK-INST: armmfflag $a0, 120# CHECK-ENCODING: encoding: [0x44,0x04,0x5c,0x00]21 22armmtflag $a0, 123# CHECK-INST: armmtflag $a0, 124# CHECK-ENCODING: encoding: [0x64,0x04,0x5c,0x00]25