Update of /cvsroot/win32forth/win32forth/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28164/win32forth/src
Modified Files:
586ASMCM.f DIS486.F
Log Message:
gah:Fixed bug in dissembler and added FCOMI and FCMOV instructions
Index: DIS486.F
===================================================================
RCS file: /cvsroot/win32forth/win32forth/src/DIS486.F,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DIS486.F 4 Feb 2006 10:53:47 -0000 1.6
--- DIS486.F 2 Dec 2006 12:09:52 -0000 1.7
***************
*** 945,949 ****
drop count dup 0xc0 <
IF dup falu3 .s" dword " mod-r/m(ModR/M)
! ELSE 0xe9 =
IF .s" fucompp" drop
ELSE dup fcmova sti.
--- 945,949 ----
drop count dup 0xc0 <
IF dup falu3 .s" dword " mod-r/m(ModR/M)
! ELSE dup 0xe9 =
IF .s" fucompp" drop
ELSE dup fcmova sti.
***************
*** 1024,1028 ****
IF .s" fnstsw ax " drop
ELSE dup 0x38 and
! CASE 0x28 OF .s" fucomip " sti. endof
0x30 OF .s" fcomip " sti. endof
???
--- 1024,1029 ----
IF .s" fnstsw ax " drop
ELSE dup 0x38 and
! CASE 0x00 OF .sop" ffreep" sti. endof
! 0x28 OF .s" fucomip " sti. endof
0x30 OF .s" fcomip " sti. endof
???
Index: 586ASMCM.f
===================================================================
RCS file: /cvsroot/win32forth/win32forth/src/586ASMCM.f,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** 586ASMCM.f 21 Dec 2004 00:19:07 -0000 1.1
--- 586ASMCM.f 2 Dec 2006 12:09:52 -0000 1.2
***************
*** 1,3 ****
--- 1,4 ----
\ 586asmcm.f 19/05/2003 17:13:07 arm conditional move macros for 586+
+ \ Also floating-point extensions for P6 or better
only forth also assembler
***************
*** 43,45 ****
--- 44,63 ----
0x44 ' cmovcc-compile opcode cmovz
+ 0xf0db ' fmisc-compile opcode fcomi
+ 0xf0df ' fmisc-compile opcode fcomip
+ 0xe8db ' fmisc-compile opcode fucomi
+ 0xe8df ' fmisc-compile opcode fucomip
+
+ 0xc0da ' fmisc-compile opcode fcmovb
+ 0xc8da ' fmisc-compile opcode fcmove
+ 0xd0da ' fmisc-compile opcode fcmovbe
+ 0xd8da ' fmisc-compile opcode fcmovu
+ 0xc0db ' fmisc-compile opcode fcmovnb
+ 0xc8db ' fmisc-compile opcode fcmovne
+ 0xd0db ' fmisc-compile opcode fcmovnbe
+ 0xd8db ' fmisc-compile opcode fcmovnu
+
+ 0xc0df ' fmisc-compile opcode ffreep
+
+
only forth definitions
|