21 lines · plain
1# RUN: llvm-mc -triple=ve --show-encoding < %s \2# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \4# RUN: | FileCheck %s --check-prefixes=CHECK-INST5 6# CHECK-INST: bswp %s11, %s11, 07# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x00,0x0b,0x2b]8bswp %s11, %s11, 09 10# CHECK-INST: bswp %s11, %s11, 111# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x01,0x0b,0x2b]12bswp %s11, %s11, 113 14# CHECK-INST: bswp %s11, (32)1, 015# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x20,0x00,0x0b,0x2b]16bswp %s11, (32)1, 017 18# CHECK-INST: bswp %s11, (32)0, 119# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x60,0x01,0x0b,0x2b]20bswp %s11, (32)0, 121