mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +02:00
neon: add INIT_VECTOR3
used to initialize NxMx3 vector types replaces initialization via '{{ }}' gnu-ism. Change-Id: Idad2f278ab104cf2cc650517194258ce3cfb37b4
This commit is contained in:
@ -27,6 +27,12 @@
|
||||
v.val[1] = b; \
|
||||
} while (0)
|
||||
|
||||
#define INIT_VECTOR3(v, a, b, c) do { \
|
||||
v.val[0] = a; \
|
||||
v.val[1] = b; \
|
||||
v.val[2] = c; \
|
||||
} while (0)
|
||||
|
||||
// if using intrinsics, this flag avoids some functions that make gcc-4.6.3
|
||||
// crash ("internal compiler error: in immed_double_const, at emit-rtl.").
|
||||
// (probably similar to gcc.gnu.org/bugzilla/show_bug.cgi?id=48183)
|
||||
|
Reference in New Issue
Block a user