Skip to main content

All Questions

1 vote
1 answer
372 views

Do all processors supporting AVX2 support F16C?

Is it safe to assume that all machines on which AVX2 is supported also support F16C instructions? I haven't encountered any machine that doesn't do that, currently. Thanks
Srihari S's user avatar
1 vote
1 answer
5k views

Using Half Precision Floating Point on x86 CPUs

I intend to use half-precision floating-point in my code but I am not able to figure out how to declare them. For Example, I want to do something like the following- fp16 a_fp16; bfloat a_bfloat; ...
ad99's user avatar
  • 945
22 votes
2 answers
17k views

Half-precision floating-point arithmetic on Intel chips

Is it possible to perform half-precision floating-point arithmetic on Intel chips? I know how to load/store/convert half-precision floating-point numbers [1] but I do not know how to add/multiply ...
Kadir's user avatar
  • 1,665
19 votes
4 answers
21k views

How to enable __fp16 type on gcc for x86_64

The __fp16 floating point data-type is a well known extension to the C standard used notably on ARM processors. I would like to run the IEEE version of them on my x86_64 processor. While I know they ...
Nonyme's user avatar
  • 1,262