Details
Diff Detail
Event Timeline
test/CodeGen/avx512f-builtins.c | ||
---|---|---|
2660 | This is not a regular round mode. RoundTo_IntegerPD(src[63:0], imm8[7:0]){ rounding_direction := MXCSR.RC //Use the rounding mode specified by MXCSR.RC ELSE rounding_direction := imm8[1:0] //Use the rounding mode specified by imm8[1:0] FI M := imm8[7:4] // The scaling factor (number of fraction bits to round to) CASE(rounding_direction) dst[63:0] := 2^-M * tmp[63:0] // scale back down IF imm8[3] == 0 //check SPE IF src[63:0] != dst[63:0] //check if precision has been lost set_precision() //set #PE FI FI dst[63:0] := RoundTo_IntegerPD(a[63:0], imm8[7:0]) | |
2665 | Like up |
use "CURRENT", please