URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [mla-1.c] - Rev 783
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-skip-if "" { arm_thumb1 } { "*" } { "" } } */ /* { dg-options "-O2" } */ int foo (int *p, int *q) { int i; int accum = 0; for (i = 0 ; i < 1024; i++) { accum += ((*p--) * (*q++)); accum += 4096; accum >>= 13 ; } return accum; } /* { dg-final { scan-assembler "mla\\t" } } */