Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
37fe763d
Commit
37fe763d
authored
16 years ago
by
Uros Bizjak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Remove unintended commits.
From-SVN: r142475
parent
ec46190f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
29 deletions
+7
-29
gcc/config/i386/avxintrin.h
+3
-16
gcc/testsuite/gcc.target/i386/avx-1.c
+2
-2
gcc/testsuite/gcc.target/i386/avx-2.c
+2
-2
gcc/testsuite/gcc.target/i386/intrinsics.h
+0
-9
No files found.
gcc/config/i386/avxintrin.h
View file @
37fe763d
...
...
@@ -27,18 +27,9 @@
/* Implemented from the specification included in the Intel C++ Compiler
User Guide and Reference, version 11.0. */
#ifndef _AVXINTRIN_H_INCLUDED
#define _AVXINTRIN_H_INCLUDED
#if !defined (__AVX__)
# error "AVX instruction set not enabled"
#else
/* We need definitions from the SSE4.1, SSSE3, SSE3, SSE2 and SSE
header files. */
#include <smmintrin.h>
/* AVX */
#ifndef _IMMINTRIN_H_INCLUDED
# error "Never use <avxintrin.h> directly; include <immintrin.h> instead."
#endif
/* Internal data types for implementing the intrinsics. */
typedef
double
__v4df
__attribute__
((
__vector_size__
(
32
)));
...
...
@@ -1478,7 +1469,3 @@ _mm256_castsi128_si256 (__m128i __A)
{
return
(
__m256i
)
__builtin_ia32_si256_si
((
__v4si
)
__A
);
}
#endif
/* __AVX__ */
#endif
/* _AVXINTRIN_H_INCLUDED */
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/i386/avx-1.c
View file @
37fe763d
...
...
@@ -18,7 +18,7 @@
#define __builtin_ia32_extrqi(X, I, L) __builtin_ia32_extrqi(X, 1, 1)
#define __builtin_ia32_insertqi(X, Y, I, L) __builtin_ia32_insertqi(X, Y, 1, 1)
/*
avx
intrin.h */
/*
imm
intrin.h */
#define __builtin_ia32_blendpd256(X, Y, M) __builtin_ia32_blendpd256(X, Y, 1)
#define __builtin_ia32_blendps256(X, Y, M) __builtin_ia32_blendps256(X, Y, 1)
#define __builtin_ia32_dpps256(X, Y, M) __builtin_ia32_dpps256(X, Y, 1)
...
...
@@ -133,7 +133,7 @@
#define __builtin_ia32_protdi(A, B) __builtin_ia32_protdi(A,1)
#define __builtin_ia32_protqi(A, B) __builtin_ia32_protqi(A,1)
#include <avxintrin.h>
#include <wmmintrin.h>
#include <bmmintrin.h>
#include <immintrin.h>
#include <mm3dnow.h>
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/i386/avx-2.c
View file @
37fe763d
...
...
@@ -12,9 +12,9 @@
#define extern
#define __inline
#include <avxintrin.h>
#include <wmmintrin.h>
#include <bmmintrin.h>
#include <immintrin.h>
#include <mm3dnow.h>
#define _CONCAT(x,y) x ## y
...
...
@@ -53,7 +53,7 @@
test_1x
(
_mm_extracti_si64
,
__m128i
,
__m128i
,
1
,
1
)
test_2x
(
_mm_inserti_si64
,
__m128i
,
__m128i
,
__m128i
,
1
,
1
)
/*
avx
intrin.h */
/*
imm
intrin.h */
test_2
(
_mm256_blend_pd
,
__m256d
,
__m256d
,
__m256d
,
1
)
test_2
(
_mm256_blend_ps
,
__m256
,
__m256
,
__m256
,
1
)
test_2
(
_mm256_dp_ps
,
__m256
,
__m256
,
__m256
,
1
)
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/i386/intrinsics.h
deleted
100644 → 0
View file @
ec46190f
/* Check that all x86 intrinsics can be included together. */
/* { dg-do compile } */
/* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */
#include <immintrin.h>
#include <bmmintrin.h>
#include <mm3dnow.h>
int
dummy
;
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment