mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-24 03:05:48 +01:00
asm optimization for 8bpp (no mmx)
This commit is contained in:
@@ -5,7 +5,7 @@ inline static void
|
||||
cycle_bench(int start)
|
||||
{
|
||||
static volatile unsigned int start_cycle;
|
||||
|
||||
|
||||
if (start) {
|
||||
asm volatile
|
||||
("pushl %%edx \n\t"
|
||||
@@ -24,7 +24,7 @@ cycle_bench(int start)
|
||||
: "=m" (start_cycle) : : "eax", "edx");
|
||||
} else {
|
||||
volatile int end;
|
||||
|
||||
|
||||
asm volatile
|
||||
("pushl %%edx \n\t"
|
||||
"clc \n\t"
|
||||
|
||||
Reference in New Issue
Block a user