update test
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 13 Aug 2008 17:07:01 +0000 (17:07 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 13 Aug 2008 17:07:01 +0000 (17:07 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3016 04897980-b3bd-0310-b5e0-8ef037075253

trunk/tests/kernel/test-nop-speed.c

index 58f3097874a1f1bd294436e43e959b1ddcd35dac..957bf0559c7effedd6f8a2e49fb2e9873a6419c9 100644 (file)
@@ -35,7 +35,7 @@ void twobytesjump(void)
 
 void fivebytesjump(void)
 {
-       asm (".byte 0xe9, 0x00, 0x00, 0x00, 0x00\n\t");
+       asm volatile (".byte 0xe9, 0x00, 0x00, 0x00, 0x00\n\t");
        var += 50;
        var /= 10;
        var *= var2;
@@ -43,7 +43,7 @@ void fivebytesjump(void)
 
 void threetwonops(void)
 {
-       asm (".byte 0x66,0x66,0x90,0x66,0x90\n\t");
+       asm volatile (".byte 0x66,0x66,0x90,0x66,0x90\n\t");
        var += 50;
        var /= 10;
        var *= var2;
@@ -51,7 +51,7 @@ void threetwonops(void)
 
 void fivebytesnop(void)
 {
-       asm (".byte 0x66,0x66,0x66,0x66,0x90\n\t");
+       asm volatile (".byte 0x66,0x66,0x66,0x66,0x90\n\t");
        var += 50;
        var /= 10;
        var *= var2;
@@ -59,7 +59,7 @@ void fivebytesnop(void)
 
 void fivebytespsixnop(void)
 {
-       asm (".byte 0x0f,0x1f,0x44,0x00,0\n\t");
+       asm volatile (".byte 0x0f,0x1f,0x44,0x00,0\n\t");
        var += 50;
        var /= 10;
        var *= var2;
This page took 0.025032 seconds and 4 git commands to generate.