aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/ix86_64/ix86_3dnow.c
diff options
context:
space:
mode:
authornotaz2012-12-02 00:36:34 +0200
committernotaz2012-12-02 02:37:11 +0200
commit89f33b734d7d540c7fa26f6556ef9ec49eb3008a (patch)
tree1084e3198b145776dfa594260ef18591321b925b /libpcsxcore/ix86_64/ix86_3dnow.c
parent665f33e1e8ce2e40a7939a33075c3bce1c90790c (diff)
downloadpcsx_rearmed-89f33b734d7d540c7fa26f6556ef9ec49eb3008a.tar.gz
pcsx_rearmed-89f33b734d7d540c7fa26f6556ef9ec49eb3008a.tar.bz2
pcsx_rearmed-89f33b734d7d540c7fa26f6556ef9ec49eb3008a.zip
rm x86 and ppc dynarec remains
that code is broken and unmaintained in this fork, which now relies on new_dynarec instead. It's better to merge Ari64's new_dynarec x86 code if x86 support is desired.
Diffstat (limited to 'libpcsxcore/ix86_64/ix86_3dnow.c')
-rw-r--r--libpcsxcore/ix86_64/ix86_3dnow.c178
1 files changed, 0 insertions, 178 deletions
diff --git a/libpcsxcore/ix86_64/ix86_3dnow.c b/libpcsxcore/ix86_64/ix86_3dnow.c
deleted file mode 100644
index 8fd4233..0000000
--- a/libpcsxcore/ix86_64/ix86_3dnow.c
+++ /dev/null
@@ -1,178 +0,0 @@
-// stop compiling if NORECBUILD build (only for Visual Studio)
-#if !(defined(_MSC_VER) && defined(PCSX2_NORECBUILD))
-
-#include "ix86-64.h"
-
-/**********************/
-/* 3DNOW instructions */
-/**********************/
-
-/* femms */
-void FEMMS( void )
-{
- write16( 0x0E0F );
-}
-
-void PFCMPEQMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0xB0 );
-}
-
-void PFCMPGTMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0xA0 );
-}
-
-void PFCMPGEMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x90 );
-}
-
-void PFADDMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x9E );
-}
-
-void PFADDRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x9E );
-}
-
-void PFSUBMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x9A );
-}
-
-void PFSUBRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x9A );
-}
-
-void PFMULMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0xB4 );
-}
-
-void PFMULRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0xB4 );
-}
-
-void PFRCPMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x96 );
-}
-
-void PFRCPRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x96 );
-}
-
-void PFRCPIT1RtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0xA6 );
-}
-
-void PFRCPIT2RtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0xB6 );
-}
-
-void PFRSQRTRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x97 );
-}
-
-void PFRSQIT1RtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0xA7 );
-}
-
-void PF2IDMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x1D );
-}
-
-void PF2IDRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x1D );
-}
-
-void PI2FDMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x0D );
-}
-
-void PI2FDRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x0D );
-}
-
-void PFMAXMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0xA4 );
-}
-
-void PFMAXRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0xA4 );
-}
-
-void PFMINMtoR( x86IntRegType to, uptr from )
-{
- MEMADDR_OP(0, VAROP2(0x0F, 0x0F), true, to, from, 1);
- write8( 0x94 );
-}
-
-void PFMINRtoR( x86IntRegType to, x86IntRegType from )
-{
- RexRB(0, to, from);
- write16( 0x0F0F );
- ModRM( 3, to, from );
- write8( 0x94 );
-}
-
-#endif