56 lines · plain
1! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-VIS22! RUN: llvm-mc %s -triple=sparcv9 -mattr=+vis2 -show-encoding | FileCheck %s --check-prefixes=VIS2 --implicit-check-not=error:3 4!! VIS 2 instructions.5 6! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled7! VIS2: bmask %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x03,0x29]8bmask %o0, %o1, %o29! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled10! VIS2: bshuffle %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x09,0x82]11bshuffle %f0, %f2, %f412 13! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled14! VIS2: siam 0 ! encoding: [0x81,0xb0,0x10,0x20]15siam 016! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled17! VIS2: siam 1 ! encoding: [0x81,0xb0,0x10,0x21]18siam 119! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled20! VIS2: siam 2 ! encoding: [0x81,0xb0,0x10,0x22]21siam 222! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled23! VIS2: siam 3 ! encoding: [0x81,0xb0,0x10,0x23]24siam 325! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled26! VIS2: siam 4 ! encoding: [0x81,0xb0,0x10,0x24]27siam 428! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled29! VIS2: siam 5 ! encoding: [0x81,0xb0,0x10,0x25]30siam 531! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled32! VIS2: siam 6 ! encoding: [0x81,0xb0,0x10,0x26]33siam 634! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled35! VIS2: siam 7 ! encoding: [0x81,0xb0,0x10,0x27]36siam 737 38! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled39! VIS2: edge8n %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x00,0x29]40edge8n %o0, %o1, %o241! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled42! VIS2: edge8ln %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x00,0x69]43edge8ln %o0, %o1, %o244! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled45! VIS2: edge16n %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x00,0xa9]46edge16n %o0, %o1, %o247! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled48! VIS2: edge16ln %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x00,0xe9]49edge16ln %o0, %o1, %o250! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled51! VIS2: edge32n %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x01,0x29]52edge32n %o0, %o1, %o253! NO-VIS2: [[#@LINE+2]]:1: error: instruction requires a CPU feature not currently enabled54! VIS2: edge32ln %o0, %o1, %o2 ! encoding: [0x95,0xb2,0x01,0x69]55edge32ln %o0, %o1, %o256