blob: 46c5cb095919e8484366002744565aedc60f2c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* APPLE LOCAL file CW asm blocks */
/* { dg-do assemble { target powerpc*-*-* } } */
/* { dg-options "-fasm-blocks" } */
asm void foo()
{
lis r1,(kUndefindedConstant<<10)|(3<<5)|(7)
rlwinm r0,r2,16+kUndefindedConstant,31 /* { dg-error "block assembly operand not recognized" } */
cmpwi cr7,r1,kUndefindedConstant-1 /* { dg-error "block assembly operand not recognized" } */
} /* { dg-error "block assembly operand not recognized" } */
int main (int argc, char * const argv[])
{
foo();
}
|