brintos

brintos / llvm-project-archived public Read only

0
0
Text · 866 B · 655fd15 Raw
23 lines · plain
1! RUN: not llvm-mc %s -triple=sparc   -show-encoding 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=V82! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=V93 4! Test the lower and upper bounds of 'set'5        ! CHECK: argument must be between6        set -2147483649, %o17        ! CHECK: argument must be between8        set 4294967296, %o19 10        ! V8: instruction requires a CPU feature not currently enabled11        ! V9: unknown membar tag12        membar #BadTag13 14        ! V8: instruction requires a CPU feature not currently enabled15        ! V9: invalid membar mask number16        membar -12717 18! Test the boundary checks on the shift amount19        ! V8: immediate shift value out of range20        sll %g1, 32, %g221        ! V9: immediate shift value out of range22        slx %g1, 64, %g223