302 }
else if ((std::fpclassify(src0[lane]) == FP_SUBNORMAL ||
303 std::fpclassify(src0[lane]) == FP_ZERO) &&
304 !std::signbit(src0[lane])) {
307 }
else if (!std::signbit(src1[lane])) {
312 }
else if ((std::fpclassify(src0[lane]) == FP_SUBNORMAL ||
313 std::fpclassify(src0[lane]) == FP_ZERO) &&
314 std::signbit(src0[lane])) {
317 }
else if (std::signbit(src1[lane])) {
323 !std::signbit(src0[lane])) {
324 if (std::fpclassify(src1[lane]) == FP_SUBNORMAL ||
325 std::fpclassify(src1[lane]) == FP_ZERO) {
327 }
else if (!std::signbit(src1[lane])) {
328 vdst[lane] = +INFINITY;
330 vdst[lane] = -INFINITY;
333 std::signbit(src0[lane])) {
334 if (std::fpclassify(src1[lane]) == FP_SUBNORMAL ||
335 std::fpclassify(src1[lane]) == FP_ZERO) {
337 }
else if (std::signbit(src1[lane])) {
338 vdst[lane] = +INFINITY;
340 vdst[lane] = -INFINITY;
343 vdst[lane] = src0[lane] * src1[lane];
403 }
else if ((std::fpclassify(src0[lane]) == FP_SUBNORMAL ||
404 std::fpclassify(src0[lane]) == FP_ZERO) &&
405 !std::signbit(src0[lane])) {
408 }
else if (!std::signbit(src1[lane])) {
413 }
else if ((std::fpclassify(src0[lane]) == FP_SUBNORMAL ||
414 std::fpclassify(src0[lane]) == FP_ZERO) &&
415 std::signbit(src0[lane])) {
418 }
else if (std::signbit(src1[lane])) {
424 !std::signbit(src0[lane])) {
425 if (std::fpclassify(src1[lane]) == FP_SUBNORMAL ||
426 std::fpclassify(src1[lane]) == FP_ZERO) {
428 }
else if (!std::signbit(src1[lane])) {
429 vdst[lane] = +INFINITY;
431 vdst[lane] = -INFINITY;
434 std::signbit(src0[lane])) {
435 if (std::fpclassify(src1[lane]) == FP_SUBNORMAL ||
436 std::fpclassify(src1[lane]) == FP_ZERO) {
438 }
else if (std::signbit(src1[lane])) {
439 vdst[lane] = +INFINITY;
441 vdst[lane] = -INFINITY;
444 vdst[lane] = src0[lane] * src1[lane];
2860 Wavefront *wf = gpuDynInst->wavefront();
2876 float tmp = src0[lane];
2878 if ((abs & 1) && (tmp < 0)) tmp = -tmp;
2879 if (neg & 1) tmp = -tmp;
2882 tmp = std::clamp(tmp, 0.0f, 1.0f);