> -----Original Message-----
> From: Andi Kleen <a...@linux.intel.com>
> Sent: Friday, August 2, 2024 2:04 AM
> To: Jiang, Haochen <haochen.ji...@intel.com>
> Cc: gcc-patches@gcc.gnu.org; Liu, Hongtao <hongtao....@intel.com>;
> ubiz...@gmail.com
> Subject: Re: [PATCH 0/1] Initial support for AVX10.2
> 
> Haochen Jiang <haochen.ji...@intel.com> writes:
> 
> > Hi all,
> >
> > AVX10.2 tech details has been just published on July 31st in the
> > following link:
> >
> > https://cdrdv2.intel.com/v1/dl/getContent/828965
> >
> > For new features and instructions, we could divide them into two parts.
> > One is ymm rounding control, the other is the new instructions.
> >
> > In the following weeks, we plan to upstream ymm rounding part first,
> > following by new instructions. After all of them upstreamed, we will
> > also upstream several patches optimizing codegen with new AVX10.2
> > instructions.
> 
> Are there plans to make INT8/FP8 types supported by the compiler?
> Or just supporting it through some intrinsics?

Hi Andi,

INT8 is actually char per my understanding.

For FP8, currently there is no basic calculation insts yet. So we have no
support for them in AVX10.2 currently, and treat them just as a piece
of char.

Also there might be other issues for FP8 to discuss, like ABI issues, so
we put the support aside for now. When everything is mature, we may
add the support for that.

Thx,
Haochen

> 
> It seems explicit types would be much more convenient to use
> for developers, although it has some drawbacks (like accuracy
> depending on spills)
> 
> I realize it's likely a lot more work, but it might be worth it?
> 
> -Andi

Reply via email to