- Update romcc so that it more successfully spills registers to the xmm registers
- Add several more test cases. - Bump the version number to .32 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@919 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
14
util/romcc/tests/simple_test41.c
Normal file
14
util/romcc/tests/simple_test41.c
Normal file
@@ -0,0 +1,14 @@
|
||||
static void main(void)
|
||||
{
|
||||
unsigned long a,b,c, d;
|
||||
volatile unsigned long *val = (volatile unsigned long *)0x1234;
|
||||
a = val[0];
|
||||
b = val[1];
|
||||
c = a*b;
|
||||
val[2] = c;
|
||||
d = val[3];
|
||||
a = c / d;
|
||||
b = c % d;
|
||||
val[4] = a;
|
||||
val[5] = b;
|
||||
}
|
Reference in New Issue
Block a user