mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
5660ec4741
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
16 lines
634 B
C
16 lines
634 B
C
#if defined(__x86_64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
#if !defined _IMMINTRIN_H_INCLUDED
|
|
#error "Never use <amxfp16intrin.h> directly; include <immintrin.h> instead."
|
|
#endif
|
|
#ifndef _AMXFP16INTRIN_H_INCLUDED
|
|
#define _AMXFP16INTRIN_H_INCLUDED
|
|
#if defined(__x86_64__)
|
|
#define _tile_dpfp16ps_internal(dst,src1,src2) __asm__ volatile ("{tdpfp16ps\t%%tmm"#src2", %%tmm"#src1", %%tmm"#dst"|tdpfp16ps\t%%tmm"#dst", %%tmm"#src1", %%tmm"#src2"}" ::)
|
|
#define _tile_dpfp16ps(dst,src1,src2) _tile_dpfp16ps_internal (dst,src1,src2)
|
|
#endif
|
|
#ifdef __DISABLE_AMX_FP16__
|
|
#undef __DISABLE_AMX_FP16__
|
|
#pragma GCC pop_options
|
|
#endif
|
|
#endif
|
|
#endif
|