1
0
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:
kojima
2000-01-21 21:04:20 +00:00
parent 34cd5125e3
commit 58ca0c2824
5 changed files with 279 additions and 115 deletions

View File

@@ -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"