use MOVDDUP for double-2 broadcast to eliminate a %copy

db4
Joe Groff 2009-09-28 12:00:03 -05:00
parent 2e8bb98781
commit 7520da41cc
1 changed files with 1 additions and 2 deletions

View File

@ -593,8 +593,7 @@ M:: x86 %broadcast-vector ( dst src rep -- )
dst dst { 0 0 0 0 } SHUFPS dst dst { 0 0 0 0 } SHUFPS
] } ] }
{ double-2-rep [ { double-2-rep [
dst src double-2-rep %copy dst src MOVDDUP
dst dst UNPCKLPD
] } ] }
{ longlong-2-rep [ { longlong-2-rep [
dst src longlong-2-rep %copy dst src longlong-2-rep %copy