diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-01-31 11:57:15 +0000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:27 +1100 |
commit | c7403b18476c9a8f767fa7d33cb1efd643b30dd6 (patch) | |
tree | fbb424f2be48145eb37d5368c2833dc3fa8b9742 /src/mesa/pipe/tgsi | |
parent | 526bed2b956d88e1b371b2e43402f8a160113497 (diff) |
tgsi: Use ESI instead of EBX as temp reg on non-win32
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rwxr-xr-x | src/mesa/pipe/tgsi/exec/tgsi_sse2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c index f8660e7ad1..df0c698301 100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c @@ -198,9 +198,15 @@ get_output_base( void ) static struct x86_reg get_temp_base( void ) { +#ifdef WIN32 return x86_make_reg( file_REG32, reg_BX ); +#else + return x86_make_reg( + file_REG32, + reg_SI ); +#endif } static struct x86_reg |