Re: [PATCH 1/4] target/i386: fix floating-point load-constant rounding

2020-05-19 Thread Richard Henderson
On 5/13/20 4:49 PM, Joseph Myers wrote: > The implementations of the fldl2t, fldl2e, fldpi, fldlg2 and fldln2 > instructions load fixed constants independent of the rounding mode. > Fix them to load a value correctly rounded for the current rounding > mode (but always rounded to 64-bit precision in

[PATCH 1/4] target/i386: fix floating-point load-constant rounding

2020-05-13 Thread Joseph Myers
The implementations of the fldl2t, fldl2e, fldpi, fldlg2 and fldln2 instructions load fixed constants independent of the rounding mode. Fix them to load a value correctly rounded for the current rounding mode (but always rounded to 64-bit precision independent of the precision control, and without