Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/gimplefe-40.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* { dg-do compile { target { int128 && vect_float } } } */ | |
2 /* { dg-options "-fgimple -Wno-psabi -w" } */ | |
3 /* { dg-additional-options "-maltivec" { target { powerpc*-*-* && powerpc_altivec_ok } } } */ | |
4 | |
5 typedef float v4sf __attribute__((vector_size(16))); | |
6 v4sf __GIMPLE (ssa) | |
7 load (const void * p) | |
8 { | |
9 __int128 unsigned _3; | |
10 v4sf _4; | |
11 v4sf _6; | |
12 float _5; | |
13 | |
14 __BB(2): | |
15 _3 = __MEM <__int128 unsigned, 8> ((char *)p_2(D)); | |
16 _4 = __VIEW_CONVERT <v4sf>(_3); | |
17 #if __SIZEOF_FLOAT__ == 4 | |
18 _5 = __BIT_FIELD_REF <float> (_4, 32, 64); | |
19 #else | |
20 _5 = 1.0f; | |
21 #endif | |
22 _6 = __BIT_INSERT (_4, _5, 0); | |
23 return _6; | |
24 } |