• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple=ve --show-encoding < %s \
2# RUN:     | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4# RUN:     | FileCheck %s --check-prefixes=CHECK-INST
5
6# CHECK-INST: fmax.d %s11, %s20, %s22
7# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0b,0x3e]
8fmax.d %s11, %s20, %s22
9
10# CHECK-INST: fmax.s %s11, 22, %s22
11# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x16,0x8b,0x3e]
12fmax.s %s11, 22, %s22
13
14# CHECK-INST: fmin.d %s11, 63, (63)1
15# CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x3f,0x3f,0x0b,0x3e]
16fmin.d %s11, 63, (63)1
17
18# CHECK-INST: fmin.s %s11, -64, %s22
19# CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x96,0x40,0x8b,0x3e]
20fmin.s %s11, -64, %s22
21