Home
last modified time | relevance | path

Searched refs:fx (Results 1 – 25 of 201) sorted by relevance

123456789

/external/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { in sbpsm_clamp_tile4_low_bits() argument
53 ret = vshrq_n_s32(fx, 12); in sbpsm_clamp_tile4_low_bits()
99 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
105 res = vmovn_u32(vreinterpretq_u32_s32(fx)); in sbpsm_repeat_tile4_low_bits()
122 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
126 #define TILEX_PROCF_NEON4(fx, max) sbpsm_clamp_tile4(fx, max) argument
128 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
130 #define TILEX_LOW_BITS_NEON4(fx, max) sbpsm_clamp_tile4_low_bits(fx) argument
[all …]
DSkBitmapProcState_opts_SSE2.cpp255 SkFixed fx; in ClampX_ClampY_filter_scale_SSE2() local
265 fx = SkScalarToFixed(pt.fX) - (one >> 1); in ClampX_ClampY_filter_scale_SSE2()
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2()
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2()
273 SkASSERT((fx >> (16 + 14)) == 0); in ClampX_ClampY_filter_scale_SSE2()
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2()
275 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
282 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
294 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
[all …]
DSkBitmapProcState_matrix_neon.h34 SkFractionalInt fx; in SCALE_NOFILTER_NAME() local
39 fx = SkScalarToFractionalInt(pt.fY); in SCALE_NOFILTER_NAME()
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY); in SCALE_NOFILTER_NAME()
42 fx = SkScalarToFractionalInt(pt.fX); in SCALE_NOFILTER_NAME()
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in SCALE_NOFILTER_NAME()
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx), in SCALE_NOFILTER_NAME()
72 fx1 = fx+dx; in SCALE_NOFILTER_NAME()
76 lbase = vdupq_n_s32(SkFractionalIntToFixed(fx)); in SCALE_NOFILTER_NAME()
96 fx += dx8; in SCALE_NOFILTER_NAME()
103 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in SCALE_NOFILTER_NAME()
[all …]
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { in sbpsm_clamp_tile4_low_bits() argument
53 ret = vshrq_n_s32(fx, 12); in sbpsm_clamp_tile4_low_bits()
99 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
105 res = vmovn_u32(vreinterpretq_u32_s32(fx)); in sbpsm_repeat_tile4_low_bits()
122 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
126 #define TILEX_PROCF_NEON4(fx, max) sbpsm_clamp_tile4(fx, max) argument
128 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
130 #define TILEX_LOW_BITS_NEON4(fx, max) sbpsm_clamp_tile4_low_bits(fx) argument
[all …]
DSkBitmapProcState_opts_SSE2.cpp255 SkFixed fx; in ClampX_ClampY_filter_scale_SSE2() local
265 fx = SkScalarToFixed(pt.fX) - (one >> 1); in ClampX_ClampY_filter_scale_SSE2()
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2()
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2()
273 SkASSERT((fx >> (16 + 14)) == 0); in ClampX_ClampY_filter_scale_SSE2()
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2()
275 fx += dx; in ClampX_ClampY_filter_scale_SSE2()
281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2()
282 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2()
294 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2()
[all …]
DSkBitmapProcState_matrix_neon.h34 SkFractionalInt fx; in SCALE_NOFILTER_NAME() local
39 fx = SkScalarToFractionalInt(pt.fY); in SCALE_NOFILTER_NAME()
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY); in SCALE_NOFILTER_NAME()
42 fx = SkScalarToFractionalInt(pt.fX); in SCALE_NOFILTER_NAME()
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in SCALE_NOFILTER_NAME()
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx), in SCALE_NOFILTER_NAME()
72 fx1 = fx+dx; in SCALE_NOFILTER_NAME()
76 lbase = vdupq_n_s32(SkFractionalIntToFixed(fx)); in SCALE_NOFILTER_NAME()
96 fx += dx8; in SCALE_NOFILTER_NAME()
103 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in SCALE_NOFILTER_NAME()
[all …]
/external/skia/src/effects/gradients/
DSkClampRange.cpp36 void SkClampRange::initFor1(SkFixed fx) { in initFor1() argument
38 if (fx <= 0) { in initFor1()
40 } else if (fx < 0xFFFF) { in initFor1()
42 fFx1 = fx; in initFor1()
61 int64_t fx = fx0; in init() local
64 int64_t ex = fx + (count - 1) * dx; in init()
66 if ((uint64_t)(fx | ex) <= 0xFFFF) { in init()
72 if (fx <= 0 && ex <= 0) { in init()
77 if (fx >= 0xFFFF && ex >= 0xFFFF) { in init()
94 fx = -fx; in init()
[all …]
DSkRadialGradient.cpp84 SkFixed fx = SkScalarToFixed(sfx) >> 1; in shadeSpan16_radial_clamp() local
94 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
97 fx += dx; in shadeSpan16_radial_clamp()
104 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
108 fx += dx; in shadeSpan16_radial_clamp()
118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial() argument
122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial()
127 fx += dx; in shadeSpan16_radial()
132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial_mirror() argument
135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_mirror()
[all …]
DSkLinearGradient.cpp101 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
103 fx += dx; \
110 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
117 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_vertical_lerp() argument
124 unsigned fullIndex = proc(fx); in shadeSpan_linear_vertical_lerp()
140 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_clamp() argument
145 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1); in shadeSpan_linear_clamp()
156 fx = range.fFx1; in shadeSpan_linear_clamp()
177 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_mirror() argument
182 unsigned fi = mirror_8bits(fx >> 8); in shadeSpan_linear_mirror()
[all …]
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkClampRange.cpp36 void SkClampRange::initFor1(SkFixed fx) { in initFor1() argument
38 if (fx <= 0) { in initFor1()
40 } else if (fx < 0xFFFF) { in initFor1()
42 fFx1 = fx; in initFor1()
61 int64_t fx = fx0; in init() local
64 int64_t ex = fx + (count - 1) * dx; in init()
66 if ((uint64_t)(fx | ex) <= 0xFFFF) { in init()
72 if (fx <= 0 && ex <= 0) { in init()
77 if (fx >= 0xFFFF && ex >= 0xFFFF) { in init()
94 fx = -fx; in init()
[all …]
DSkRadialGradient.cpp84 SkFixed fx = SkScalarToFixed(sfx) >> 1; in shadeSpan16_radial_clamp() local
94 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
97 fx += dx; in shadeSpan16_radial_clamp()
104 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp()
108 fx += dx; in shadeSpan16_radial_clamp()
118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial() argument
122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial()
127 fx += dx; in shadeSpan16_radial()
132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial_mirror() argument
135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_mirror()
[all …]
DSkLinearGradient.cpp115 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
117 fx += dx; \
124 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
131 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_vertical_lerp() argument
138 unsigned fullIndex = proc(fx); in shadeSpan_linear_vertical_lerp()
154 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_clamp() argument
159 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1); in shadeSpan_linear_clamp()
170 fx = range.fFx1; in shadeSpan_linear_clamp()
191 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_mirror() argument
196 unsigned fi = mirror_8bits(fx >> 8); in shadeSpan_linear_mirror()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; in NoFilterProc_Scale() local
28 fx = SkScalarToFractionalInt(pt.fY); in NoFilterProc_Scale()
30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY); in NoFilterProc_Scale()
31 fx = SkScalarToFractionalInt(pt.fX); in NoFilterProc_Scale()
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in NoFilterProc_Scale()
43 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx), in NoFilterProc_Scale()
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
56 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
57 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
[all …]
DSkBitmapProcState_matrixProcs.cpp33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { in X()
61 return SkClampMax(fx >> 16, max); in X()
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)) argument
91 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument
96 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { in X()
97 return SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)); in X()
[all …]
/external/skia/src/core/
DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; in NoFilterProc_Scale() local
28 fx = SkScalarToFractionalInt(pt.fY); in NoFilterProc_Scale()
30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY); in NoFilterProc_Scale()
31 fx = SkScalarToFractionalInt(pt.fX); in NoFilterProc_Scale()
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in NoFilterProc_Scale()
43 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx), in NoFilterProc_Scale()
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
56 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
57 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
[all …]
DSkBitmapProcState_matrixProcs.cpp33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { in X()
61 return SkClampMax(fx >> 16, max); in X()
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)) argument
91 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument
96 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { in X()
97 return SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)); in X()
[all …]
/external/chromium_org/third_party/skia/bench/
DInterpBench.cpp54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
55 SkFixed curr = SkFloatToFixed(fx); in performTest()
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
74 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest()
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536); in performTest()
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; in performTest()
128 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; in performTest()
129 tmp = SkFloatToFixed(fx); dst[i + 2] = TILE(tmp, count); fx += dx; in performTest()
[all …]
/external/skia/bench/
DInterpBench.cpp54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
55 SkFixed curr = SkFloatToFixed(fx); in performTest()
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
74 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest()
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536); in performTest()
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE { in performTest() argument
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; in performTest()
128 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; in performTest()
129 tmp = SkFloatToFixed(fx); dst[i + 2] = TILE(tmp, count); fx += dx; in performTest()
[all …]
/external/chromium_org/third_party/skia/tests/
DClampRangeTest.cpp35 const SkFixed fx, SkFixed dx, int count) { in slow_check() argument
39 int64_t bigfx = fx; in slow_check()
58 static void test_range(SkFixed fx, SkFixed dx, int count) { in test_range() argument
60 range.init(fx, dx, count, kV0, kV1); in test_range()
61 slow_check(range, fx, dx, count); in test_range()
89 SkFixed fx = rand.nextS() >> 1; in DEF_TEST() local
92 SkFixed dx = (sx - fx) / count; in DEF_TEST()
93 test_range(fx, dx, count); in DEF_TEST()
/external/skia/tests/
DClampRangeTest.cpp35 const SkFixed fx, SkFixed dx, int count) { in slow_check() argument
39 int64_t bigfx = fx; in slow_check()
58 static void test_range(SkFixed fx, SkFixed dx, int count) { in test_range() argument
60 range.init(fx, dx, count, kV0, kV1); in test_range()
61 slow_check(range, fx, dx, count); in test_range()
89 SkFixed fx = rand.nextS() >> 1; in DEF_TEST() local
92 SkFixed dx = (sx - fx) / count; in DEF_TEST()
93 test_range(fx, dx, count); in DEF_TEST()
/external/libedit/src/
Drefresh.c457 re_clear_eol(EditLine *el, int fx, int sx, int diff) in re_clear_eol() argument
461 sx, fx, diff)); in re_clear_eol()
463 if (fx < 0) in re_clear_eol()
464 fx = -fx; in re_clear_eol()
467 if (fx > diff) in re_clear_eol()
468 diff = fx; in re_clear_eol()
506 int fx, sx; in re_update_line() local
634 fx = (int)((nsb - nfd) - (osb - ofd)); in re_update_line()
642 if (fx > 0) { in re_update_line()
658 if (fx < 0) { in re_update_line()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; in emit_viewport() local
198 fx, in emit_viewport()
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0]; in emit_viewport()
230 if (fx < 0) { in emit_viewport()
231 prescale.translate[0] += fx; in emit_viewport()
232 prescale.scale[0] *= fw / (fw + fx); in emit_viewport()
233 fw += fx; in emit_viewport()
234 fx = 0; in emit_viewport()
249 if (fx + fw > fb_width) { in emit_viewport()
250 prescale.scale[0] *= fw / (fb_width - fx); in emit_viewport()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; in emit_viewport() local
198 fx, in emit_viewport()
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0]; in emit_viewport()
230 if (fx < 0) { in emit_viewport()
231 prescale.translate[0] += fx; in emit_viewport()
232 prescale.scale[0] *= fw / (fw + fx); in emit_viewport()
233 fw += fx; in emit_viewport()
234 fx = 0; in emit_viewport()
249 if (fx + fw > fb_width) { in emit_viewport()
250 prescale.scale[0] *= fw / (fb_width - fx); in emit_viewport()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp430 FX_FLOAT fx = a * dx, fy = b * dx; in TransformXDistance() local
431 return FXSYS_sqrt(fx * fx + fy * fy); in TransformXDistance()
435 FX_FLOAT fx = a * dx, fy = b * dx; in TransformXDistance() local
436 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformXDistance()
440 FX_FLOAT fx = c * dy, fy = d * dy; in TransformYDistance() local
441 return FXSYS_sqrt(fx * fx + fy * fy); in TransformYDistance()
445 FX_FLOAT fx = c * dy, fy = d * dy; in TransformYDistance() local
446 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformYDistance()
450 FX_FLOAT fx = a * dx + c * dy, fy = b * dx + d * dy; in TransformDistance() local
451 return FXSYS_sqrt(fx * fx + fy * fy); in TransformDistance()
[all …]
/external/eigen/Eigen/src/Core/arch/SSE/
DMathFunctions.h129 Packet4f tmp = _mm_setzero_ps(), fx; variable
136 fx = pmadd(x, p4f_cephes_LOG2EF, p4f_half);
139 fx = _mm_floor_ps(fx);
141 emm0 = _mm_cvttps_epi32(fx);
144 Packet4f mask = _mm_cmpgt_ps(tmp, fx);
146 fx = psub(tmp, mask);
149 tmp = pmul(fx, p4f_cephes_exp_C1);
150 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
166 emm0 = _mm_cvttps_epi32(fx);
198 Packet2d tmp = _mm_setzero_pd(), fx; variable
[all …]

123456789