From f37346b4b28446bd06c0facd7d88faa89bb1aa30 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 13 Aug 2008 17:07:01 +0000 Subject: [PATCH] update test git-svn-id: http://ltt.polymtl.ca/svn@3016 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/tests/kernel/test-nop-speed.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/tests/kernel/test-nop-speed.c b/trunk/tests/kernel/test-nop-speed.c index 58f30978..957bf055 100644 --- a/trunk/tests/kernel/test-nop-speed.c +++ b/trunk/tests/kernel/test-nop-speed.c @@ -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; -- 2.34.1