On Wed, Sep 1, 2021 at 11:00 PM Hongtao Liu <crazy...@gmail.com> wrote:
>
> I'm going to check in the first 3 patches which are already approved.
>
>   Update hf soft-fp from glibc.
>   [i386] Enable _Float16 type for TARGET_SSE2 and above.
>   [i386] libgcc: Enable hfmode soft-sf/df/xf/tf extensions and
>     truncations.
>
> On Mon, Aug 2, 2021 at 2:31 PM liuhongt <hongtao....@intel.com> wrote:
> >
> > Update from v2:
> >
> > 1. Support -fexcess-precision=16 which will enable
> > FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 when backend supports _Float16.
> > 2. Update ix86_get_excess_precision, so -fexcess-precision=standard
> > should not do anything different from -fexcess-precision=fast
> >  regarding _Float16.
> > 3. Avoiding macroization of HFmode patterns.
> > 4. Allow (subreg:SI (reg:HF)).
> > 5. Update documents corresponding exactly to the code changes in
> > the same patch.
> > 6. According to 32bit abi, pass vector _Float16 by sse registers
> > for 32-bit mode, not stack.
> >
> > Guo, Xuepeng (1):
> >   AVX512FP16: Initial support for AVX512FP16 feature and scalar _Float16
> >     instructions.
> >
> > liuhongt (5):
> >   Update hf soft-fp from glibc.
> >   [i386] Enable _Float16 type for TARGET_SSE2 and above.
> >   [i386] libgcc: Enable hfmode soft-sf/df/xf/tf extensions and
> >     truncations.
> >   Support -fexcess-precision=16 which will enable
> >     FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 when backend supports _Float16.
> >   AVX512FP16: Support vector init/broadcast/set/extract for FP16.
> >

I got

FAIL: gcc.dg/torture/fp-int-convert-float16.c   -Os  execution test
FAIL: gcc.dg/torture/fp-int-convert-float16-timode.c   -Os  execution test

with -m32:

[hjl@gnu-skx-1 gcc]$ ./xgcc -B./ -m32
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.dg/torture/fp-int-convert-float16.c
 -m32  -Os -march=i686 -mfpmath=sse -msse2
[hjl@gnu-skx-1 gcc]$ ./a.out
Aborted (core dumped)
[hjl@gnu-skx-1 gcc]$

H.J.

Reply via email to