Debian Codegraph @

arch/x86_64/fpu/abs_32.h

raw symbols SCIP
1 //cxx . . $ `<file>/arch/x86_64/fpu/abs_32.h`/
2 // arch/x86_64/fpu/abs_32.h
3 //
4 // This file is subject to the terms and conditions defined in
5 // 'LICENSE', which is part of this source code package.
6 //
7
8 #include "common.h"cxx . . $ `<file>/build/common.h`/
9 #include <emmintrin.h>
10 #include <string.h>
11
12 static inline void fpu_abs_32cxx . . $ fpu_abs_32(400e083a04eff154).(const uint32_tcxx . . $ uint32_t# *fs, uint32_tcxx . . $ uint32_t# *fd) {
13 float fs_float, fd_float;
14 __m128cxx . . $ __m128# fs_reg, fd_reg;
15
16 // Prevent aliasing.
17 memcpycxx . . $ memcpy(cc817cb175f282d).(&fs_float, fs, sizeof(fs_float));
18
19 fs_reg = _mm_set_sscxx . . $ _mm_set_ss(975dd02a9c095bb9).(fs_float);
20 fd_reg = _mm_andnot_pscxx . . $ _mm_andnot_ps(359170f1c294161a).(_mm_set_sscxx . . $ _mm_set_ss(975dd02a9c095bb9).(-0.0f), fs_reg);
21 fd_float = _mm_cvtss_f32cxx . . $ _mm_cvtss_f32(ed160c24a2b465d1).(fd_reg);
22
23 // Prevent aliasing.
24 memcpycxx . . $ memcpy(cc817cb175f282d).(fd, &fd_float, sizeof(fd_float));
25 }
26