54 lines · plain
1! RUN: not llvm-mc %s -triple=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=V82! RUN: not llvm-mc %s -triple=sparc -mattr=+hasleoncasa -show-encoding 2>&1 | FileCheck %s --check-prefix=LEON3! RUN: llvm-mc %s -triple=sparcv9 -show-encoding | FileCheck %s --check-prefix=V94 5! V8: error: instruction requires a CPU feature not currently enabled6! V9: cas [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16]7! LEON: error: instruction requires a CPU feature not currently enabled8cas [%i0], %l6, %o29 10! V8: error: instruction requires a CPU feature not currently enabled11! V9: casl [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x11,0x16]12! LEON: error: instruction requires a CPU feature not currently enabled13casl [%i0], %l6, %o214 15! V8: error: instruction requires a CPU feature not currently enabled16! V9: casx [%i0], %l6, %o2 ! encoding: [0xd5,0xf6,0x10,0x16]17! LEON: error: instruction requires a CPU feature not currently enabled18casx [%i0], %l6, %o219 20! V8: error: instruction requires a CPU feature not currently enabled21! V9: casxl [%i0], %l6, %o2 ! encoding: [0xd5,0xf6,0x11,0x16]22! LEON: error: instruction requires a CPU feature not currently enabled23casxl [%i0], %l6, %o224 25! V8: error: instruction requires a CPU feature not currently enabled26! V9: casxa [%i0] %asi, %l6, %o2 ! encoding: [0xd5,0xf6,0x20,0x16]27! LEON: error: instruction requires a CPU feature not currently enabled28casxa [%i0] %asi, %l6, %o229 30! V8: error: instruction requires a CPU feature not currently enabled31! V9: casx [%i0], %l6, %o2 ! encoding: [0xd5,0xf6,0x10,0x16]32! LEON: error: instruction requires a CPU feature not currently enabled33casxa [%i0] 0x80, %l6, %o234 35! V8: error: instruction requires a CPU feature not currently enabled36! V9: casx [%i0], %l6, %o2 ! encoding: [0xd5,0xf6,0x10,0x16]37! LEON: error: instruction requires a CPU feature not currently enabled38casxa [%i0] (0x40+0x40), %l6, %o239 40! V8: error: instruction requires a CPU feature not currently enabled41! V9: casa [%i0] %asi, %l6, %o2 ! encoding: [0xd5,0xe6,0x20,0x16]42! LEON: error: malformed ASI tag, must be a constant integer expression43casa [%i0] %asi, %l6, %o244 45! V8: error: instruction requires a CPU feature not currently enabled46! V9: cas [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16]47! LEON: casa [%i0] 128, %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16]48casa [%i0] 0x80, %l6, %o249 50! V8: error: instruction requires a CPU feature not currently enabled51! V9: cas [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16]52! LEON: casa [%i0] 128, %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16]53casa [%i0] (0x40+0x40), %l6, %o254