Changeset 1807 for trunk/lib/idisa_cpp


Ignore:
Timestamp:
Dec 22, 2011, 8:33:21 PM (8 years ago)
Author:
cameron
Message:

New store/load op syntax

Location:
trunk/lib/idisa_cpp
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/idisa_cpp/idisa_avx.cpp

    r1767 r1807  
    9292{
    9393public:
    94         static IDISA_ALWAYS_INLINE bitblock256_t load_unaligned(float const* arg1);
     94        static IDISA_ALWAYS_INLINE bitblock256_t load_unaligned(const float const* arg1);
    9595        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock256_t srli(bitblock256_t arg1);
    96         static IDISA_ALWAYS_INLINE void store_aligned(float* arg1, bitblock256_t arg2);
     96        static IDISA_ALWAYS_INLINE void store_aligned(bitblock256_t arg1, float* arg2);
    9797        static IDISA_ALWAYS_INLINE bool all(bitblock256_t arg1);
    9898        static IDISA_ALWAYS_INLINE bool any(bitblock256_t arg1);
    9999        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock256_t arg1);
    100100        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock256_t slli(bitblock256_t arg1);
    101         static IDISA_ALWAYS_INLINE bitblock256_t load_aligned(float const* arg1);
    102         static IDISA_ALWAYS_INLINE void store_unaligned(float* arg1, bitblock256_t arg2);
     101        static IDISA_ALWAYS_INLINE bitblock256_t load_aligned(const float const* arg1);
     102        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock256_t arg1, float* arg2);
    103103};
    104104
     
    33093309
    33103310//The total number of operations is 1.0
    3311 IDISA_ALWAYS_INLINE bitblock256_t bitblock256::load_unaligned(float const* arg1)
     3311IDISA_ALWAYS_INLINE bitblock256_t bitblock256::load_unaligned(const float const* arg1)
    33123312{
    33133313        return _mm256_loadu_ps((float const*)(arg1));
     
    33213321
    33223322//The total number of operations is 1.0
    3323 IDISA_ALWAYS_INLINE void bitblock256::store_aligned(float* arg1, bitblock256_t arg2)
     3323IDISA_ALWAYS_INLINE void bitblock256::store_aligned(bitblock256_t arg1, float* arg2)
    33243324{
    33253325        _mm256_store_ps((float*)(arg1), arg2);
     
    33513351
    33523352//The total number of operations is 1.0
    3353 IDISA_ALWAYS_INLINE bitblock256_t bitblock256::load_aligned(float const* arg1)
     3353IDISA_ALWAYS_INLINE bitblock256_t bitblock256::load_aligned(const float const* arg1)
    33543354{
    33553355        return _mm256_load_ps((float const*)(arg1));
     
    33573357
    33583358//The total number of operations is 1.0
    3359 IDISA_ALWAYS_INLINE void bitblock256::store_unaligned(float* arg1, bitblock256_t arg2)
     3359IDISA_ALWAYS_INLINE void bitblock256::store_unaligned(bitblock256_t arg1, float* arg2)
    33603360{
    33613361        _mm256_storeu_ps((float*)(arg1), arg2);
  • trunk/lib/idisa_cpp/idisa_neon.cpp

    r1767 r1807  
    9191{
    9292public:
    93         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(uint64_t const* arg1);
     93        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const uint64_t const* arg1);
    9494        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    95         static IDISA_ALWAYS_INLINE void store_aligned(uint64_t* arg1, bitblock128_t arg2);
     95        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, uint64_t* arg2);
    9696        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    9797        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    9898        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    9999        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    100         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(uint64_t const* arg1);
    101         static IDISA_ALWAYS_INLINE void store_unaligned(uint64_t* arg1, bitblock128_t arg2);
     100        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const uint64_t const* arg1);
     101        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, uint64_t* arg2);
    102102};
    103103
     
    28002800
    28012801//The total number of operations is 1.0
    2802 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(uint64_t const* arg1)
     2802IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const uint64_t const* arg1)
    28032803{
    28042804        return vld1q_u64((uint64_t const*)(arg1));
     
    28122812
    28132813//The total number of operations is 1.0
    2814 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(uint64_t* arg1, bitblock128_t arg2)
     2814IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, uint64_t* arg2)
    28152815{
    28162816        vst1q_u64((uint64_t*)(arg1), arg2);
     
    28422842
    28432843//The total number of operations is 1.0
    2844 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(uint64_t const* arg1)
     2844IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const uint64_t const* arg1)
    28452845{
    28462846        return vld1q_u64((uint64_t const*)(arg1));
     
    28482848
    28492849//The total number of operations is 1.0
    2850 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(uint64_t* arg1, bitblock128_t arg2)
     2850IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, uint64_t* arg2)
    28512851{
    28522852        vst1q_u64((uint64_t*)(arg1), arg2);
  • trunk/lib/idisa_cpp/idisa_sse2.cpp

    r1767 r1807  
    9696public:
    9797        static IDISA_ALWAYS_INLINE bitblock128_t sll(bitblock128_t arg1, bitblock128_t arg2);
    98         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(bitblock128_t* arg1);
     98        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const bitblock128_t* arg1);
    9999        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    100100        static IDISA_ALWAYS_INLINE bitblock128_t srl(bitblock128_t arg1, bitblock128_t arg2);
    101         static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t* arg1, bitblock128_t arg2);
     101        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, bitblock128_t* arg2);
    102102        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    103103        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    104104        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    105105        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    106         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(bitblock128_t* arg1);
    107         static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t* arg1, bitblock128_t arg2);
     106        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const bitblock128_t* arg1);
     107        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, bitblock128_t* arg2);
    108108};
    109109
     
    29762976
    29772977//The total number of operations is 1.0
    2978 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(bitblock128_t* arg1)
     2978IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const bitblock128_t* arg1)
    29792979{
    29802980        return _mm_loadu_si128((bitblock128_t*)(arg1));
     
    29882988
    29892989//The total number of operations is 1.0
    2990 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t* arg1, bitblock128_t arg2)
    2991 {
    2992         _mm_store_si128((bitblock128_t*)(arg1), arg2);
     2990IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, bitblock128_t* arg2)
     2991{
     2992        _mm_store_si128((bitblock128_t*)(arg2), arg1);
    29932993}
    29942994
     
    30243024
    30253025//The total number of operations is 1.0
    3026 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(bitblock128_t* arg1)
     3026IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const bitblock128_t* arg1)
    30273027{
    30283028        return _mm_load_si128((bitblock128_t*)(arg1));
     
    30303030
    30313031//The total number of operations is 1.0
    3032 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t* arg1, bitblock128_t arg2)
    3033 {
    3034         _mm_storeu_si128((bitblock128_t*)(arg1), arg2);
     3032IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, bitblock128_t* arg2)
     3033{
     3034        _mm_storeu_si128((bitblock128_t*)(arg2), arg1);
    30353035}
    30363036
  • trunk/lib/idisa_cpp/idisa_sse3.cpp

    r1767 r1807  
    9696public:
    9797        static IDISA_ALWAYS_INLINE bitblock128_t sll(bitblock128_t arg1, bitblock128_t arg2);
    98         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(bitblock128_t* arg1);
     98        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const bitblock128_t* arg1);
    9999        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    100100        static IDISA_ALWAYS_INLINE bitblock128_t srl(bitblock128_t arg1, bitblock128_t arg2);
    101         static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t* arg1, bitblock128_t arg2);
     101        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, bitblock128_t* arg2);
    102102        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    103103        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    104104        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    105105        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    106         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(bitblock128_t* arg1);
    107         static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t* arg1, bitblock128_t arg2);
     106        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const bitblock128_t* arg1);
     107        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, bitblock128_t* arg2);
    108108};
    109109
     
    29762976
    29772977//The total number of operations is 1.0
    2978 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(bitblock128_t* arg1)
     2978IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const bitblock128_t* arg1)
    29792979{
    29802980        return _mm_loadu_si128((bitblock128_t*)(arg1));
     
    29882988
    29892989//The total number of operations is 1.0
    2990 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t* arg1, bitblock128_t arg2)
    2991 {
    2992         _mm_store_si128((bitblock128_t*)(arg1), arg2);
     2990IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, bitblock128_t* arg2)
     2991{
     2992        _mm_store_si128((bitblock128_t*)(arg2), arg1);
    29932993}
    29942994
     
    30243024
    30253025//The total number of operations is 1.0
    3026 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(bitblock128_t* arg1)
     3026IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const bitblock128_t* arg1)
    30273027{
    30283028        return _mm_load_si128((bitblock128_t*)(arg1));
     
    30303030
    30313031//The total number of operations is 1.0
    3032 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t* arg1, bitblock128_t arg2)
    3033 {
    3034         _mm_storeu_si128((bitblock128_t*)(arg1), arg2);
     3032IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, bitblock128_t* arg2)
     3033{
     3034        _mm_storeu_si128((bitblock128_t*)(arg2), arg1);
    30353035}
    30363036
  • trunk/lib/idisa_cpp/idisa_sse4_1.cpp

    r1767 r1807  
    9797public:
    9898        static IDISA_ALWAYS_INLINE bitblock128_t sll(bitblock128_t arg1, bitblock128_t arg2);
    99         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(bitblock128_t* arg1);
     99        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const bitblock128_t* arg1);
    100100        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    101101        static IDISA_ALWAYS_INLINE bitblock128_t srl(bitblock128_t arg1, bitblock128_t arg2);
    102         static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t* arg1, bitblock128_t arg2);
     102        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, bitblock128_t* arg2);
    103103        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    104104        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    105105        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    106106        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    107         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(bitblock128_t* arg1);
    108         static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t* arg1, bitblock128_t arg2);
     107        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const bitblock128_t* arg1);
     108        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, bitblock128_t* arg2);
    109109};
    110110
     
    30143014
    30153015//The total number of operations is 1.0
    3016 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(bitblock128_t* arg1)
     3016IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const bitblock128_t* arg1)
    30173017{
    30183018        return _mm_loadu_si128((bitblock128_t*)(arg1));
     
    30263026
    30273027//The total number of operations is 1.0
    3028 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t* arg1, bitblock128_t arg2)
    3029 {
    3030         _mm_store_si128((bitblock128_t*)(arg1), arg2);
     3028IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, bitblock128_t* arg2)
     3029{
     3030        _mm_store_si128((bitblock128_t*)(arg2), arg1);
    30313031}
    30323032
     
    30623062
    30633063//The total number of operations is 1.0
    3064 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(bitblock128_t* arg1)
     3064IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const bitblock128_t* arg1)
    30653065{
    30663066        return _mm_load_si128((bitblock128_t*)(arg1));
     
    30683068
    30693069//The total number of operations is 1.0
    3070 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t* arg1, bitblock128_t arg2)
    3071 {
    3072         _mm_storeu_si128((bitblock128_t*)(arg1), arg2);
     3070IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, bitblock128_t* arg2)
     3071{
     3072        _mm_storeu_si128((bitblock128_t*)(arg2), arg1);
    30733073}
    30743074
  • trunk/lib/idisa_cpp/idisa_sse4_2.cpp

    r1767 r1807  
    9797public:
    9898        static IDISA_ALWAYS_INLINE bitblock128_t sll(bitblock128_t arg1, bitblock128_t arg2);
    99         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(bitblock128_t* arg1);
     99        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const bitblock128_t* arg1);
    100100        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    101101        static IDISA_ALWAYS_INLINE bitblock128_t srl(bitblock128_t arg1, bitblock128_t arg2);
    102         static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t* arg1, bitblock128_t arg2);
     102        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, bitblock128_t* arg2);
    103103        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    104104        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    105105        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    106106        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    107         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(bitblock128_t* arg1);
    108         static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t* arg1, bitblock128_t arg2);
     107        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const bitblock128_t* arg1);
     108        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, bitblock128_t* arg2);
    109109};
    110110
     
    29962996
    29972997//The total number of operations is 1.0
    2998 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(bitblock128_t* arg1)
     2998IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const bitblock128_t* arg1)
    29992999{
    30003000        return _mm_loadu_si128((bitblock128_t*)(arg1));
     
    30083008
    30093009//The total number of operations is 1.0
    3010 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t* arg1, bitblock128_t arg2)
    3011 {
    3012         _mm_store_si128((bitblock128_t*)(arg1), arg2);
     3010IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, bitblock128_t* arg2)
     3011{
     3012        _mm_store_si128((bitblock128_t*)(arg2), arg1);
    30133013}
    30143014
     
    30443044
    30453045//The total number of operations is 1.0
    3046 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(bitblock128_t* arg1)
     3046IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const bitblock128_t* arg1)
    30473047{
    30483048        return _mm_load_si128((bitblock128_t*)(arg1));
     
    30503050
    30513051//The total number of operations is 1.0
    3052 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t* arg1, bitblock128_t arg2)
    3053 {
    3054         _mm_storeu_si128((bitblock128_t*)(arg1), arg2);
     3052IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, bitblock128_t* arg2)
     3053{
     3054        _mm_storeu_si128((bitblock128_t*)(arg2), arg1);
    30553055}
    30563056
  • trunk/lib/idisa_cpp/idisa_ssse3.cpp

    r1767 r1807  
    9797public:
    9898        static IDISA_ALWAYS_INLINE bitblock128_t sll(bitblock128_t arg1, bitblock128_t arg2);
    99         static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(bitblock128_t* arg1);
     99        static IDISA_ALWAYS_INLINE bitblock128_t load_unaligned(const bitblock128_t* arg1);
    100100        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t srli(bitblock128_t arg1);
    101101        static IDISA_ALWAYS_INLINE bitblock128_t srl(bitblock128_t arg1, bitblock128_t arg2);
    102         static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t* arg1, bitblock128_t arg2);
     102        static IDISA_ALWAYS_INLINE void store_aligned(bitblock128_t arg1, bitblock128_t* arg2);
    103103        static IDISA_ALWAYS_INLINE bool all(bitblock128_t arg1);
    104104        static IDISA_ALWAYS_INLINE bool any(bitblock128_t arg1);
    105105        static IDISA_ALWAYS_INLINE uint64_t popcount(bitblock128_t arg1);
    106106        template <uint64_t sh> static IDISA_ALWAYS_INLINE bitblock128_t slli(bitblock128_t arg1);
    107         static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(bitblock128_t* arg1);
    108         static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t* arg1, bitblock128_t arg2);
     107        static IDISA_ALWAYS_INLINE bitblock128_t load_aligned(const bitblock128_t* arg1);
     108        static IDISA_ALWAYS_INLINE void store_unaligned(bitblock128_t arg1, bitblock128_t* arg2);
    109109};
    110110
     
    30113011
    30123012//The total number of operations is 1.0
    3013 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(bitblock128_t* arg1)
     3013IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_unaligned(const bitblock128_t* arg1)
    30143014{
    30153015        return _mm_loadu_si128((bitblock128_t*)(arg1));
     
    30233023
    30243024//The total number of operations is 1.0
    3025 IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t* arg1, bitblock128_t arg2)
    3026 {
    3027         _mm_store_si128((bitblock128_t*)(arg1), arg2);
     3025IDISA_ALWAYS_INLINE void bitblock128::store_aligned(bitblock128_t arg1, bitblock128_t* arg2)
     3026{
     3027        _mm_store_si128((bitblock128_t*)(arg2), arg1);
    30283028}
    30293029
     
    30593059
    30603060//The total number of operations is 1.0
    3061 IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(bitblock128_t* arg1)
     3061IDISA_ALWAYS_INLINE bitblock128_t bitblock128::load_aligned(const bitblock128_t* arg1)
    30623062{
    30633063        return _mm_load_si128((bitblock128_t*)(arg1));
     
    30653065
    30663066//The total number of operations is 1.0
    3067 IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t* arg1, bitblock128_t arg2)
    3068 {
    3069         _mm_storeu_si128((bitblock128_t*)(arg1), arg2);
     3067IDISA_ALWAYS_INLINE void bitblock128::store_unaligned(bitblock128_t arg1, bitblock128_t* arg2)
     3068{
     3069        _mm_storeu_si128((bitblock128_t*)(arg2), arg1);
    30703070}
    30713071
Note: See TracChangeset for help on using the changeset viewer.