notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #529 from negativeExponent/nodebugger
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
psx_gpu
/
vector_ops.h
diff --git
a/plugins/gpu_neon/psx_gpu/vector_ops.h
b/plugins/gpu_neon/psx_gpu/vector_ops.h
index
c11955d
..
c91e7d9
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/vector_ops.h
+++ b/
plugins/gpu_neon/psx_gpu/vector_ops.h
@@
-394,6
+394,10
@@
build_vector_types(s);
foreach_element(8, (dest).e[_i] = \
(u8)(source_a).e[_i] | ((u8)(source_b).e[_i] << 8)) \
foreach_element(8, (dest).e[_i] = \
(u8)(source_a).e[_i] | ((u8)(source_b).e[_i] << 8)) \
+#define zip_4x32b(dest, source_a, source_b) \
+ foreach_element(4, (dest).e[_i] = \
+ (u16)(source_a).e[_i] | ((u16)(source_b).e[_i] << 16)) \
+
#define zip_2x64b(dest, source_a, source_b) \
foreach_element(2, (dest).e[_i] = \
(u64)(source_a).e[_i] | ((u64)(source_b).e[_i] << 32)) \
#define zip_2x64b(dest, source_a, source_b) \
foreach_element(2, (dest).e[_i] = \
(u64)(source_a).e[_i] | ((u64)(source_b).e[_i] << 32)) \