--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info@coresystems.de •
http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
Index: arch/x86/stage0_i586.S
===================================================================
--- arch/x86/stage0_i586.S (revision 654)
+++ arch/x86/stage0_i586.S (working copy)
@@ -319,15 +319,8 @@
* windowoffset is the 32k-aligned window into CAR size
*/
.macro simplemask carsize, windowoffset
- .set gas_bug_workaround,(((\carsize - \windowoffset) / 0x1000) - 4)
- extractmask gas_bug_workaround, %eax
- .set gas_bug_workaround,(((\carsize - \windowoffset) / 0x1000))
- extractmask gas_bug_workaround, %edx
-/* Without the gas bug workaround, the entire macro would consist only of the
- * two lines below.
- extractmask (((\carsize - \windowoffset) / 0x1000) - 4), %eax
- extractmask (((\carsize - \windowoffset) / 0x1000)), %edx
- */
+ extractmask (((\carsize - \windowoffset) >> 12 ) - 4), %eax
+ extractmask (((\carsize - \windowoffset) >> 12 )), %edx
.endm
#if CacheSize > 0x10000