brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 8b8503c Raw
50 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=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefix=V93 4! V8: error: expected absolute expression5! V8-NEXT: lduba [%i0] asi, %o26! V9: error: unexpected token7! V9-NEXT: lduba [%i0] asi, %o28lduba [%i0] asi, %o29 10! V8: error: malformed ASI tag, must be a constant integer expression11! V8-NEXT: lduba [%i0] %g0, %o212! V9: error: malformed ASI tag, must be %asi, a constant integer expression, or a named tag13! V9-NEXT: lduba [%i0] %g0, %o214lduba [%i0] %g0, %o215 16! V8: error: malformed ASI tag, must be a constant integer expression17! V8-NEXT: lduba [%i0] %0, %o218! V9: error: malformed ASI tag, must be %asi, a constant integer expression, or a named tag19! V9-NEXT: lduba [%i0] %0, %o220lduba [%i0] %0, %o221 22! V8: error: invalid ASI number, must be between 0 and 25523! V8-NEXT: lduba [%i0] -1, %o224! V9: error: invalid ASI number, must be between 0 and 25525! V9-NEXT: lduba [%i0] -1, %o226lduba [%i0] -1, %o227 28! V8: error: invalid ASI number, must be between 0 and 25529! V8-NEXT: lduba [%i0] 256, %o230! V9: error: invalid ASI number, must be between 0 and 25531! V9-NEXT: lduba [%i0] 256, %o232lduba [%i0] 256, %o233 34!! %asi register is only introduced in V935! V8: error: malformed ASI tag, must be a constant integer expression36! V8-NEXT: lduba [%i0] %asi, %o237lduba [%i0] %asi, %o238 39!! [Reg+Imm] can't be used with immediate ASI forms.40! V8: error: invalid operand for instruction41! V8-NEXT: lduba [%i0+1] 255, %o242! V9: error: invalid operand for instruction43! V9-NEXT: lduba [%i0+1] 255, %o244lduba [%i0+1] 255, %o245 46!! [Reg+Reg] can't be used with stored tag in %asi.47! V9: error: invalid operand for instruction48! V9-NEXT: lduba [%i0+%i1] %asi, %o249lduba [%i0+%i1] %asi, %o250