mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Upgrade to Cosmopolitan GCC 11.2.0 for x86_64
This commit is contained in:
parent
682b74ed88
commit
39f20dbb13
137 changed files with 48523 additions and 34001 deletions
49
third_party/intel/movdirintrin.internal.h
vendored
49
third_party/intel/movdirintrin.internal.h
vendored
|
@ -1,42 +1,47 @@
|
|||
#if !defined _IMMINTRIN_H_INCLUDED
|
||||
#error "Never use <movdirintrin.h> directly; include <x86intrin.h> instead."
|
||||
/* clang-format off */
|
||||
#if defined(__x86_64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
#ifndef _X86GPRINTRIN_H_INCLUDED
|
||||
# error "Never use <movdirintrin.h> directly; include <x86gprintrin.h> instead."
|
||||
#endif
|
||||
|
||||
#ifndef _MOVDIRINTRIN_H_INCLUDED
|
||||
#define _MOVDIRINTRIN_H_INCLUDED
|
||||
|
||||
#ifndef __MOVDIRI__
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("movdiri")
|
||||
#pragma GCC target ("movdiri")
|
||||
#define __DISABLE_MOVDIRI__
|
||||
#endif /* __MOVDIRI__ */
|
||||
|
||||
__funline void _directstoreu_u32(void *__P, unsigned int __A) {
|
||||
__builtin_ia32_directstoreu_u32((unsigned int *)__P, __A);
|
||||
#endif
|
||||
extern __inline void
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
_directstoreu_u32 (void * __P, unsigned int __A)
|
||||
{
|
||||
__builtin_ia32_directstoreu_u32 ((unsigned int *)__P, __A);
|
||||
}
|
||||
#ifdef __x86_64__
|
||||
__funline void _directstoreu_u64(void *__P, unsigned long long __A) {
|
||||
__builtin_ia32_directstoreu_u64((unsigned long long *)__P, __A);
|
||||
extern __inline void
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
_directstoreu_u64 (void * __P, unsigned long long __A)
|
||||
{
|
||||
__builtin_ia32_directstoreu_u64 ((unsigned long long *)__P, __A);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __DISABLE_MOVDIRI__
|
||||
#undef __DISABLE_MOVDIRI__
|
||||
#pragma GCC pop_options
|
||||
#endif /* __DISABLE_MOVDIRI__ */
|
||||
|
||||
#endif
|
||||
#ifndef __MOVDIR64B__
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("movdir64b")
|
||||
#pragma GCC target ("movdir64b")
|
||||
#define __DISABLE_MOVDIR64B__
|
||||
#endif /* __MOVDIR64B__ */
|
||||
|
||||
__funline void _movdir64b(void *__P, const void *__Q) {
|
||||
__builtin_ia32_movdir64b(__P, __Q);
|
||||
#endif
|
||||
extern __inline void
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
_movdir64b (void * __P, const void * __Q)
|
||||
{
|
||||
__builtin_ia32_movdir64b (__P, __Q);
|
||||
}
|
||||
|
||||
#ifdef __DISABLE_MOVDIR64B__
|
||||
#undef __DISABLE_MOVDIR64B__
|
||||
#pragma GCC pop_options
|
||||
#endif /* __DISABLE_MOVDIR64B__ */
|
||||
#endif /* _MOVDIRINTRIN_H_INCLUDED. */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue