ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/compiler/codegen_x86.cpp
(Generate patch)

Comparing BasiliskII/src/uae_cpu/compiler/codegen_x86.cpp (file contents):
Revision 1.11 by gbeauche, 2003-03-13T20:34:34Z vs.
Revision 1.12 by gbeauche, 2003-03-17T22:37:55Z

# Line 2717 | Line 2717 | static bool target_check_bsf(void)
2717                          int flags = (g_SF << 7) | (g_OF << 11) | (g_ZF << 6) | g_CF;
2718                          int tmp = value;
2719                          __asm__ __volatile__ ("push %0; popf; bsf %1,%1; pushf; pop %0"
2720 <                                                                  : "+r" (flags), "+r" (tmp) : : "flags");
2720 >                                                                  : "+r" (flags), "+r" (tmp) : : "cc");
2721                          int OF = (flags >> 11) & 1;
2722                          int SF = (flags >>  7) & 1;
2723                          int ZF = (flags >>  6) & 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines