From 49454bc2073be9b0706ab8f286a0599c3035358e Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Tue, 11 Oct 2011 16:16:56 -0700 Subject: [PATCH] Fix silly bug in 16-wide AOS-SOA 3-vector routine --- builtins.m4 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/builtins.m4 b/builtins.m4 index 0b39b414..7aaa3546 100644 --- a/builtins.m4 +++ b/builtins.m4 @@ -1553,12 +1553,15 @@ define internal void call void @__aos_to_soa3_float4(<4 x float> %v0a, <4 x float> %v0b, <4 x float> %v0c, <4 x float> * %out0a, <4 x float> * %out1a, <4 x float> * %out2a) - call void @__aos_to_soa3_float4(<4 x float> %v1a, <4 x float> %v1b, - <4 x float> %v1c, <4 x float> * %out0b, <4 x float> * %out1b, + call void @__aos_to_soa3_float4(<4 x float> %v0d, <4 x float> %v1a, + <4 x float> %v1b, <4 x float> * %out0b, <4 x float> * %out1b, <4 x float> * %out2b) - call void @__aos_to_soa3_float4(<4 x float> %v2a, <4 x float> %v2b, - <4 x float> %v2c, <4 x float> * %out0c, <4 x float> * %out1c, + call void @__aos_to_soa3_float4(<4 x float> %v1c, <4 x float> %v1d, + <4 x float> %v2a, <4 x float> * %out0c, <4 x float> * %out1c, <4 x float> * %out2c) + call void @__aos_to_soa3_float4(<4 x float> %v2b, <4 x float> %v2c, + <4 x float> %v2d, <4 x float> * %out0d, <4 x float> * %out1d, + <4 x float> * %out2d) ret void }