diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-12-02 05:47:26 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-12-02 05:47:26 +0000 |
commit | 13c0eb433cca19bb71e0c3591f487a4696d449c0 (patch) | |
tree | 069361abfe99e9f0f5628e4afd237ec5471839ea /gcc/config/i386/abmintrin.h | |
parent | 6d518d3b72692a2874122c903e5994db27bf5500 (diff) | |
download | gcc-13c0eb433cca19bb71e0c3591f487a4696d449c0.tar.gz |
ABM intrinsics file.
* config/i386/abmintrin.h: New.
* config/i386/i386-c.c (ix86_target_macros_internal): Defined __ABM__.
* config/i386/x86intrin.h: Include abmintrin.h when __ABM__ is defined.
From-SVN: r154893
Diffstat (limited to 'gcc/config/i386/abmintrin.h')
-rw-r--r-- | gcc/config/i386/abmintrin.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/i386/abmintrin.h b/gcc/config/i386/abmintrin.h new file mode 100644 index 00000000000..6c77b3c205a --- /dev/null +++ b/gcc/config/i386/abmintrin.h @@ -0,0 +1,36 @@ +/* Copyright (C) 2009 Free Software Foundation, Inc. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GCC is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _X86INTRIN_H_INCLUDED +# error "Never use <abmintrin.h> directly; include <x86intrin.h> instead." +#endif + +#ifndef __ABM__ +# error "ABM instruction set not enabled" +#endif /* __ABM__ */ + +#ifndef _ABMINTRIN_H_INCLUDED +#define _ABMINTRIN_H_INCLUDED + + +#endif /* _ABMINTRIN_H_INCLUDED */ |