aboutsummaryrefslogtreecommitdiff
path: root/src/core/program.cpp
diff options
context:
space:
mode:
authorGil Pitney <gil.pitney@linaro.org>2014-11-21 18:16:58 -0800
committerGil Pitney <gil.pitney@linaro.org>2014-11-21 18:16:58 -0800
commit183e63662bf50e5cb18e49db7a122f38c6a43f7b (patch)
tree829cf75d51047def3207f1d1a2054bd55faa0a4e /src/core/program.cpp
parentcc4318ce5886355ad1b06d5489820db6a3a2a044 (diff)
Fixed kernel stub argument marshalling code to ensure proper alignment
Previously, shamrock was generating load instructions in the kernel stub with a strict type alignment, which was not being followed by the argument marshalling code. This resulted in a NEON vld1 instruction failing in the kernel stub, and trashing a base register which was not 16 byte aligned. Now the marshalling code calculates the proper alignement for each argument, and is based on a buffer aligned to double16 to begin with. With this patch, all the vector sub-tests of the Khronos basic_parameter_types test now pass. Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
Diffstat (limited to 'src/core/program.cpp')
0 files changed, 0 insertions, 0 deletions