daily update on 20230415 by nitload youmu
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include <xmmintrin.h>
|
||||
#include <immintrin.h>
|
||||
#include <intrin.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
/*
|
||||
float z = 4.00f;
|
||||
float* a = &z;
|
||||
float b = sseSqrt(z);
|
||||
|
||||
printf("%f", b);
|
||||
|
||||
/**/
|
||||
|
||||
|
||||
float a = 400.0f;
|
||||
float r[4];
|
||||
float* pa = &a;
|
||||
|
||||
__m128 b;
|
||||
__m128 c;
|
||||
|
||||
b = _mm_load_ss(pa);
|
||||
c = _mm_sqrt_ss(b);
|
||||
_mm_store_ss(r, c);
|
||||
|
||||
printf("%f", r[0]);
|
||||
/**/
|
||||
}
|
||||
Reference in New Issue
Block a user