File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libs/simdvec/native/src/vec/c/amd64 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ static inline int64_t xgetbv(int ctr) {
5252 // use inline assembly, Gnu/AT&T syntax
5353 uint32_t a , d ;
5454 __asm("xgetbv" : "=a" (a ),"=d" (d ) : "c" (ctr ) : );
55- return a | (uint64_t ( d ) << 32 );
55+ return a | ((( uint64_t ) d ) << 32 );
5656
57- #elif (defined (_MSC_FULL_VER ) && _MSC_FULL_VER >= 160040000 ) || (defined (__INTEL_COMPILER ) && __INTEL_COMPILER >= 1200 ) // Microsoft or Intel compiler supporting _xgetbv intrinsic
58- // intrinsic function for XGETBV
57+ #elif (defined (_MSC_FULL_VER ) && _MSC_FULL_VER >= 160040000 ) || (defined (__INTEL_COMPILER ) && __INTEL_COMPILER >= 1200 )
58+ // Microsoft or Intel compiler supporting _xgetbv intrinsic
5959 return _xgetbv (ctr );
6060
6161#else
You can’t perform that action at this time.
0 commit comments