Mercurial > vec
diff src/impl/fallback.c @ 24:e49e70f7012f
impl/x86: add static assertions for alignment and size
author | Paper <paper@tflc.us> |
---|---|
date | Sun, 24 Nov 2024 03:32:53 -0500 |
parents | e26874655738 |
children | 92156fe32755 |
line wrap: on
line diff
--- a/src/impl/fallback.c Sun Nov 24 02:52:40 2024 -0500 +++ b/src/impl/fallback.c Sun Nov 24 03:32:53 2024 -0500 @@ -7,10 +7,8 @@ // memory is unknown or yields incorrect results from the generic functions. // This is *extremely* unlikely; for x86 the layout is exactly the same in // memory as the generic functions (i.e. it is literally stored as an array of -// integers). -// -// These functions can probably be removed if every current implementation is -// found to have the same +// integers). This is likely true for AltiVec and NEON as well, but those +// aren't tested for now. #define VEC_FALLBACK_OPERATION(op, sign, csign, bits, size) \ do { \