brintos

brintos / llvm-project-archived public Read only

0
0
Text · 881 B · b07c99a Raw
18 lines · plain
1! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-UA2005 --implicit-check-not=error:2! RUN: llvm-mc %s -triple=sparcv9 -mattr=+ua2005 -show-encoding | FileCheck %s --check-prefixes=UA20053 4!! UA 2005 instructions.5 6! NO-UA2005: error: instruction requires a CPU feature not currently enabled7! UA2005: allclean                   ! encoding: [0x85,0x88,0x00,0x00]8allclean9! NO-UA2005: error: instruction requires a CPU feature not currently enabled10! UA2005: invalw                     ! encoding: [0x8b,0x88,0x00,0x00]11invalw12! NO-UA2005: error: instruction requires a CPU feature not currently enabled13! UA2005: otherw                     ! encoding: [0x87,0x88,0x00,0x00]14otherw15! NO-UA2005: error: instruction requires a CPU feature not currently enabled16! UA2005: normalw                    ! encoding: [0x89,0x88,0x00,0x00]17normalw18