代码搜索:SIMD
找到约 448 项符合「SIMD」的源代码
代码结果 448
www.eeworm.com/read/470693/1463271
c simd-2.c
typedef float floatvect2 __attribute__((mode(V2SF)));
typedef union
{
floatvect2 vector;
float f[2];
}resfloatvect2;
void tempf(float *x, float *y)
{
floatvect2 temp={x[0],x[1]};
www.eeworm.com/read/470693/1463294
c simd-1.c
typedef int v2si __attribute__ ((mode(V2SI)));
typedef unsigned di __attribute__ ((mode(DI)));
void foo(unsigned long);
void bar() {
v2si x = { 1, 2 };
foo((di) x);
}
www.eeworm.com/read/470693/1463449
c simd-4.c
typedef float floatvect2 __attribute__((mode(V4SF)));
typedef union
{
floatvect2 vector;
float f[2];
}resfloatvect2;
void tempf(floatvect2 *x, floatvect2 *y)
{
floatvect2 temp= *x;
www.eeworm.com/read/470693/1463516
c simd-3.c
typedef float floatvect2 __attribute__((mode(V2DF)));
typedef union
{
floatvect2 vector;
double f[2];
}resfloatvect2;
void tempf(double *x, double *y)
{
floatvect2 temp={x[0],x[1]};
www.eeworm.com/read/470693/1463832
c simd-1.c
/* { dg-do compile } */
/* { dg-options "-Wall" } */
/* Origin: Aldy Hernandez . */
/* Purpose: Program to test generic SIMD support. */
typedef int __attribute__((mode(V4SI))) v
www.eeworm.com/read/240162/4578938
c simd-2.c
// Test EH when V4SI SIMD registers are involved.
// Contributed by Aldy Hernandez (aldy@quesejoda.com).
// { dg-options "-O" }
// { dg-options "-O -w" { target i?86-*-* } }
// { dg-options "-O -w -ma
www.eeworm.com/read/240162/4578943
c simd-1.c
// Test EH when V2SI SIMD registers are involved.
// Contributed by Aldy Hernandez (aldy@quesejoda.com).
// { dg-options "-O" }
// { dg-options "-O -w" { target i?86-*-* } }
// { dg-do run }
// { dg-e
www.eeworm.com/read/240162/4587931
x simd-4.x
# This doesn't work on sparc*-*-* at -O0.
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR target/12916" \
{ "spa
www.eeworm.com/read/240162/4588132
c simd-2.c
/*
Purpose: Test generic SIMD support, V8HImode. This test should work
regardless of if the target has SIMD instructions.
*/
typedef int __attribute__((mode(V8HI))) vecint;
vecint i = { 150,
www.eeworm.com/read/240162/4588169
c simd-1.c
/* Origin: Aldy Hernandez
Purpose: Test generic SIMD support. This test should work
regardless of if the target has SIMD instructions.
*/
typedef int __attribute__((mode(V4