Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 381:aade6c9aca4d
prev380:2e8166bf6832
next382:fce3f4da92ab
author nkeynes
date Wed Sep 12 11:41:43 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix default block return value
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Wed Sep 12 11:31:16 2007 +0000
1.2 +++ b/src/sh4/sh4x86.in Wed Sep 12 11:41:43 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4x86.in,v 1.7 2007-09-12 11:31:16 nkeynes Exp $
1.6 + * $Id: sh4x86.in,v 1.8 2007-09-12 11:41:43 nkeynes Exp $
1.7 *
1.8 * SH4 => x86 translation. This version does no real optimization, it just
1.9 * outputs straight-line x86 code - it mainly exists to provide a baseline
1.10 @@ -369,7 +369,7 @@
1.11 MUL_r32( R_ESI );
1.12 ADD_r32_r32( R_EAX, R_ECX );
1.13 store_spreg( R_ECX, REG_OFFSET(slice_cycle) );
1.14 - XOR_r32_r32( R_EAX, R_EAX );
1.15 + load_imm32( R_EAX, 1 );
1.16 POP_r32(R_ESI);
1.17 POP_r32(R_EDI);
1.18 POP_r32(R_EBP);
.