X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/checks
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
distutils
/
checks
/
ðŸ“
..
📄
cpu_asimd.c
(818 B)
📄
cpu_asimddp.c
(432 B)
📄
cpu_asimdfhm.c
(529 B)
📄
cpu_asimdhp.c
(379 B)
📄
cpu_avx.c
(779 B)
📄
cpu_avx2.c
(749 B)
📄
cpu_avx512_clx.c
(842 B)
📄
cpu_avx512_cnl.c
(948 B)
📄
cpu_avx512_icl.c
(1004 B)
📄
cpu_avx512_knl.c
(956 B)
📄
cpu_avx512_knm.c
(1.11 KB)
📄
cpu_avx512_skx.c
(1010 B)
📄
cpu_avx512_spr.c
(904 B)
📄
cpu_avx512cd.c
(759 B)
📄
cpu_avx512f.c
(755 B)
📄
cpu_f16c.c
(868 B)
📄
cpu_fma3.c
(817 B)
📄
cpu_fma4.c
(301 B)
📄
cpu_neon.c
(600 B)
📄
cpu_neon_fp16.c
(251 B)
📄
cpu_neon_vfpv4.c
(609 B)
📄
cpu_popcnt.c
(1.02 KB)
📄
cpu_sse.c
(686 B)
📄
cpu_sse2.c
(697 B)
📄
cpu_sse3.c
(689 B)
📄
cpu_sse41.c
(675 B)
📄
cpu_sse42.c
(692 B)
📄
cpu_ssse3.c
(705 B)
📄
cpu_vsx.c
(478 B)
📄
cpu_vsx2.c
(263 B)
📄
cpu_vsx3.c
(250 B)
📄
cpu_vsx4.c
(305 B)
📄
cpu_vx.c
(461 B)
📄
cpu_vxe.c
(788 B)
📄
cpu_vxe2.c
(624 B)
📄
cpu_xop.c
(234 B)
📄
extra_avx512bw_mask.c
(636 B)
📄
extra_avx512dq_mask.c
(504 B)
📄
extra_avx512f_reduce.c
(1.56 KB)
📄
extra_vsx4_mma.c
(499 B)
📄
extra_vsx_asm.c
(945 B)
📄
test_flags.c
(16 B)
Editing: extra_vsx_asm.c
/** * Testing ASM VSX register number fixer '%x<n>' * * old versions of CLANG doesn't support %x<n> in the inline asm template * which fixes register number when using any of the register constraints wa, wd, wf. * * xref: * - https://bugs.llvm.org/show_bug.cgi?id=31837 * - https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html */ #ifndef __VSX__ #error "VSX is not supported" #endif #include <altivec.h> #if (defined(__GNUC__) && !defined(vec_xl)) || (defined(__clang__) && !defined(__IBMC__)) #define vsx_ld vec_vsx_ld #define vsx_st vec_vsx_st #else #define vsx_ld vec_xl #define vsx_st vec_xst #endif int main(void) { float z4[] = {0, 0, 0, 0}; signed int zout[] = {0, 0, 0, 0}; __vector float vz4 = vsx_ld(0, z4); __vector signed int asm_ret = vsx_ld(0, zout); __asm__ ("xvcvspsxws %x0,%x1" : "=wa" (vz4) : "wa" (asm_ret)); vsx_st(asm_ret, 0, zout); return zout[0]; }
Upload File
Create Folder