Commit 5a86523b authored by David Mosberger's avatar David Mosberger

ia64: Fix __delay() to do The Right Thing. In practice, this may

	cause BogoMIPS to drop to half the clock-speed with current
	versions of GCC, but this just shows that GCC doesn't generate
	very good code for single-cycle loops.  Perhaps it will motivate
	someone to improve GCC in this area (though it's hardly of
	practical value, other than for producing large BogoMIPS values).
parent ba79587f
...@@ -74,7 +74,7 @@ __delay (unsigned long loops) ...@@ -74,7 +74,7 @@ __delay (unsigned long loops)
return; return;
while (loops--) while (loops--)
ia64_nop(0); barrier();
} }
static __inline__ void static __inline__ void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment