URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [mla-1.c] - Rev 801
Go to most recent revision | 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" } } */
Go to most recent revision | Compare with Previous | Blame | View Log