29 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: maxs.w.sx %s11, %s20, %s227# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0b,0x78]8maxs.w.sx %s11, %s20, %s229 10# CHECK-INST: maxs.w.zx %s11, 22, %s2211# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x16,0x8b,0x78]12maxs.w.zx %s11, 22, %s2213 14# CHECK-INST: mins.w.sx %s11, 63, (63)115# CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x3f,0x3f,0x0b,0x78]16mins.w.sx %s11, 63, (63)117 18# CHECK-INST: mins.w.zx %s11, -64, %s2219# CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x96,0x40,0x8b,0x78]20mins.w.zx %s11, -64, %s2221 22# CHECK-INST: maxs.l %s11, -64, (22)023# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x56,0x40,0x0b,0x68]24maxs.l %s11, -64, (22)025 26# CHECK-INST: mins.l %s11, -64, (22)127# CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x16,0x40,0x0b,0x68]28mins.l %s11, -64, (22)129