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: cmov.l.at %s11, %s12, 63 7# CHECK-ENCODING: encoding: [0x0f,0x00,0x00,0x00,0x8c,0x3f,0x0b,0x3b] 8cmov.l %s11, %s12, 63 9 10# CHECK-INST: cmov.w.at %s11, %s12, %s13 11# CHECK-ENCODING: encoding: [0x8f,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 12cmov.w.at %s11, %s12, %s13 13 14# CHECK-INST: cmov.d.af %s11, (20)0, %s12 15# CHECK-ENCODING: encoding: [0x40,0x00,0x00,0x00,0x54,0x8c,0x0b,0x3b] 16cmov.d.af %s11, (20)0, %s12 17 18# CHECK-INST: cmov.s.gt %s11, (63)1, %s12 19# CHECK-ENCODING: encoding: [0xc1,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 20cmov.s.gt %s11, (63)1, %s12 21 22# CHECK-INST: cmov.l.lt %s11, %s12, 63 23# CHECK-ENCODING: encoding: [0x02,0x00,0x00,0x00,0x8c,0x3f,0x0b,0x3b] 24cmov.l.lt %s11, %s12, 63 25 26# CHECK-INST: cmov.w.ne %s11, %s12, %s13 27# CHECK-ENCODING: encoding: [0x83,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 28cmov.w.ne %s11, %s12, %s13 29 30# CHECK-INST: cmov.d.eq %s11, (20)0, %s12 31# CHECK-ENCODING: encoding: [0x44,0x00,0x00,0x00,0x54,0x8c,0x0b,0x3b] 32cmov.d.eq %s11, (20)0, %s12 33 34# CHECK-INST: cmov.s.ge %s11, (63)1, %s12 35# CHECK-ENCODING: encoding: [0xc5,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 36cmov.s.ge %s11, (63)1, %s12 37 38# CHECK-INST: cmov.l.le %s11, %s12, 63 39# CHECK-ENCODING: encoding: [0x06,0x00,0x00,0x00,0x8c,0x3f,0x0b,0x3b] 40cmov.l.le %s11, %s12, 63 41 42# CHECK-INST: cmov.d.num %s11, %s12, %s13 43# CHECK-ENCODING: encoding: [0x47,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 44cmov.d.num %s11, %s12, %s13 45 46# CHECK-INST: cmov.s.nan %s11, (63)1, %s12 47# CHECK-ENCODING: encoding: [0xc8,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 48cmov.s.nan %s11, (63)1, %s12 49 50# CHECK-INST: cmov.d.gtnan %s11, %s12, %s13 51# CHECK-ENCODING: encoding: [0x49,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 52cmov.d.gtnan %s11, %s12, %s13 53 54# CHECK-INST: cmov.s.ltnan %s11, (63)1, %s12 55# CHECK-ENCODING: encoding: [0xca,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 56cmov.s.ltnan %s11, (63)1, %s12 57 58# CHECK-INST: cmov.d.nenan %s11, %s12, %s13 59# CHECK-ENCODING: encoding: [0x4b,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 60cmov.d.nenan %s11, %s12, %s13 61 62# CHECK-INST: cmov.s.eqnan %s11, (63)1, %s12 63# CHECK-ENCODING: encoding: [0xcc,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 64cmov.s.eqnan %s11, (63)1, %s12 65 66# CHECK-INST: cmov.d.genan %s11, %s12, %s13 67# CHECK-ENCODING: encoding: [0x4d,0x00,0x00,0x00,0x8c,0x8d,0x0b,0x3b] 68cmov.d.genan %s11, %s12, %s13 69 70# CHECK-INST: cmov.s.lenan %s11, (63)1, %s12 71# CHECK-ENCODING: encoding: [0xce,0x00,0x00,0x00,0x3f,0x8c,0x0b,0x3b] 72cmov.s.lenan %s11, (63)1, %s12 73