@@ -49,34 +49,34 @@ struct vec_type_t {
4949
5050 ALWAYS_INLINE vec_type_t (Type v) : _val {v} {}
5151
52- static vec_type_t <T> ALWAYS_INLINE loadu (const void *ptr) {
52+ ALWAYS_INLINE static vec_type_t <T> loadu (const void *ptr) {
5353 return {vec_xl (0 , reinterpret_cast <const ElementType *>(ptr))};
5454 }
5555
56- static ALWAYS_INLINE vec_type_t <T> loadLen (
56+ ALWAYS_INLINE static vec_type_t <T> loadLen (
5757 const void *ptr, uint32_t BYTE_INDEX) {
5858 return {vec_load_len (
5959 reinterpret_cast <const ElementType *>(ptr), BYTE_INDEX)};
6060 }
6161
62- static vec_type_t <T> ALWAYS_INLINE load_hinted (const void *ptr) {
62+ ALWAYS_INLINE static vec_type_t <T> load_hinted (const void *ptr) {
6363 Type const *addr = (Type const *)ptr;
6464 Type y;
6565 y = *addr;
6666 return y;
6767 }
6868
69- void ALWAYS_INLINE store (void *ptr) const {
69+ ALWAYS_INLINE void store (void *ptr) const {
7070 vec_xst (_val, 0 , reinterpret_cast <ElementType *>(ptr));
7171 }
7272
73- void ALWAYS_INLINE storeLen (void *ptr, uint32_t BYTE_INDEX) const {
73+ ALWAYS_INLINE void storeLen (void *ptr, uint32_t BYTE_INDEX) const {
7474 vec_store_len (_val, reinterpret_cast <ElementType *>(ptr), BYTE_INDEX);
7575 }
7676
7777 ALWAYS_INLINE const Type &vec () const { return _val; }
7878
79- vec_type_t <T> &ALWAYS_INLINE operator +=(const vec_type_t <T> &other) {
79+ ALWAYS_INLINE vec_type_t <T> &operator +=(const vec_type_t <T> &other) {
8080 _val = _val + other._val ;
8181 return *this ;
8282 }
0 commit comments