URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [fpr-moves-7.c] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-options "(-mips16) -mabi=64 -O2 -EL" } */ extern long double g[16]; extern unsigned char gstuff[0x10000]; NOMIPS16 long double foo (long double i1, long double i2, long double i3, long double i4, long double *x, unsigned char *lstuff) { g[0] = i1; g[1] = i2; g[2] = i3; g[3] = i4; x[0] = x[4]; x[1] = 0; x[2] = 1.0; x[3] = g[4]; x[4] = *(long double *) (lstuff + 0x7fff); return *(long double *) (gstuff + 0x7fff); } MIPS16 long double bar (long double i1, long double i2, long double i3, long double i4, long double *x, unsigned char *lstuff) { g[0] = i1; g[1] = i2; g[2] = i3; g[3] = i4; x[0] = x[4]; x[1] = 0; x[2] = 1.0; x[3] = g[4]; x[4] = *(long double *) (lstuff + 0x7fff); return *(long double *) (gstuff + 0x7fff); }
Go to most recent revision | Compare with Previous | Blame | View Log