[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] CVS: bochs/cpu lazy_flags.h,1.20,1.21
From: Volker Ruppert <vruppert () users ! sourceforge ! net>
Date: 2005-07-24 8:35:19
Message-ID: E1Dwbx9-0007S3-SS () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/bochs/bochs/cpu
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28635/cpu
Modified Files:
lazy_flags.h
Log Message:
- fixed panic caused by operator precedence bug
Index: lazy_flags.h
===================================================================
RCS file: /cvsroot/bochs/bochs/cpu/lazy_flags.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- lazy_flags.h 21 Jul 2005 01:59:05 -0000 1.20
+++ lazy_flags.h 24 Jul 2005 08:35:15 -0000 1.21
@@ -38,10 +38,10 @@
#define BX_INSTR_ADC32 7
#define BX_INSTR_ADC64 8
-#define BX_INSTR_ADD_ADC8(cf) (1 + (cf)<<2)
-#define BX_INSTR_ADD_ADC16(cf) (2 + (cf)<<2)
-#define BX_INSTR_ADD_ADC32(cf) (3 + (cf)<<2)
-#define BX_INSTR_ADD_ADC64(cf) (4 + (cf)<<2)
+#define BX_INSTR_ADD_ADC8(cf) (1 + (cf<<2))
+#define BX_INSTR_ADD_ADC16(cf) (2 + (cf<<2))
+#define BX_INSTR_ADD_ADC32(cf) (3 + (cf<<2))
+#define BX_INSTR_ADD_ADC64(cf) (4 + (cf<<2))
#define BX_INSTR_SUB8 9
#define BX_INSTR_SUB16 10
@@ -54,10 +54,10 @@
#define BX_INSTR_SBB32 15
#define BX_INSTR_SBB64 16
-#define BX_INSTR_SUB_SBB8(cf) (9 + (cf)<<2)
-#define BX_INSTR_SUB_SBB16(cf) (10 + (cf)<<2)
-#define BX_INSTR_SUB_SBB32(cf) (11 + (cf)<<2)
-#define BX_INSTR_SUB_SBB64(cf) (12 + (cf)<<2)
+#define BX_INSTR_SUB_SBB8(cf) (9 + (cf<<2))
+#define BX_INSTR_SUB_SBB16(cf) (10 + (cf<<2))
+#define BX_INSTR_SUB_SBB32(cf) (11 + (cf<<2))
+#define BX_INSTR_SUB_SBB64(cf) (12 + (cf<<2))
#define BX_INSTR_INC8 17
#define BX_INSTR_INC16 18
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic