190792Sgshapiro/* { dg-do compile { target { powerpc_fprs && ilp32 } } } */ 290792Sgshapiro/* { dg-options "-O3 -mcpu=power2 -fno-schedule-insns -w" } */ 3120256Sgshapiro/* { dg-final { scan-assembler-not "lfd" } } */ 490792Sgshapiro/* { dg-final { scan-assembler-not "sfd" } } */ 590792Sgshapiro/* { dg-final { scan-assembler "lfq" } } */ 690792Sgshapiro/* { dg-final { scan-assembler "stfq" } } */ 790792Sgshapiro 890792Sgshapiroregister volatile double t1 __asm__("fr0"); 990792Sgshapiroregister volatile double t2 __asm__("fr1"); 1090792Sgshapiroregister volatile double t3 __asm__("fr2"), t4 __asm__("fr3"); 1190792Sgshapirovoid t(double *a, double *b) 1290792Sgshapiro{ 1390792Sgshapiro t1 = a[-1]; 1490792Sgshapiro t2 = a[0]; 1590792Sgshapiro t3 = a[1]; 1690792Sgshapiro t4 = a[2]; 1790792Sgshapiro b[-1] = t1; 18159609Sgshapiro b[0] = t2; 1990792Sgshapiro b[1] = t3; 2090792Sgshapiro b[2] = t4; 2190792Sgshapiro} 2294334Sgshapiro 23110560Sgshapiro