|
Lines 1-14
Link Here
|
| 1 |
|
|
|
| 2 |
$FreeBSD: ports/graphics/png/files/patch-pnggccrd.c,v 1.1 2001/11/15 23:32:37 sobomax Exp $ |
| 3 |
|
| 4 |
--- pnggccrd.c 2001/11/15 23:03:00 1.1 |
| 5 |
+++ pnggccrd.c 2001/11/15 23:07:03 |
| 6 |
@@ -5287,6 +5287,8 @@ |
| 7 |
"popfl \n\t" // restore modified value to Eflag reg |
| 8 |
"pushfl \n\t" // save Eflag to stack |
| 9 |
"popl %%eax \n\t" // get Eflag from stack |
| 10 |
+ "pushl %%ecx \n\t" // save original Eflag to stack |
| 11 |
+ "popfl \n\t" // restore original Eflag |
| 12 |
"xorl %%ecx, %%eax \n\t" // compare new Eflag with original Eflag |
| 13 |
"jz .NOT_SUPPORTED \n\t" // if same, CPUID instr. is not supported |
| 14 |
|