projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
526bed2
)
tgsi: Use ESI instead of EBX as temp reg on non-win32
author
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 31 Jan 2008 11:57:15 +0000
(11:57 +0000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:27 +0000
(13:50 +1100)
src/mesa/pipe/tgsi/exec/tgsi_sse2.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
index f8660e7ad14b198d93234f3b777ff426da55703a..df0c69830137f8ef76a0960bc08b15ec0984f63f 100755
(executable)
--- 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