[Bug target/39258] No ABI warnings on __m128i when SSE is disabled

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39258

--- Comment #4 from Andrew Pinski  ---
union sse2 does not pass via a register for me on x86_64

[Bug target/39258] No ABI warnings on __m128i when SSE is disabled

2009-04-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2009-04-16 18:33 ---
Stop setting the target milestone unless it is a regression.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.5.0   |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39258



[Bug target/39258] No ABI warnings on __m128i when SSE is disabled

2009-02-22 Thread hjl dot tools at gmail dot com


--- Comment #1 from hjl dot tools at gmail dot com  2009-02-22 19:21 ---
The ABI warnings are inconsistent:

bash-3.2$ cat u3.i
typedef long long __m128i __attribute__ ((__vector_size__ (16),
__may_alias__)); 

__m128i
bar2 (void)
{
  __m128i x = (__m128i) { 0, 0 };
  return x;
}
bash-3.2$ gcc -S -mno-sse u3.i 
u3.i: In function ‘bar2’:
u3.i:5: error: SSE register return with SSE disabled
bash-3.2$ gcc -S -mno-sse u3.i  -m32
bash-3.2$ 

construct_container has

  /* We allowed the user to turn off SSE for kernel mode.  Don't crash if
 some less clueful developer tries to use floating-point anyway.  */

But we issue an error.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 CC||ubizjak at gmail dot com
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39258



[Bug target/39258] No ABI warnings on __m128i when SSE is disabled

2009-02-22 Thread hjl dot tools at gmail dot com


--- Comment #2 from hjl dot tools at gmail dot com  2009-02-22 22:04 ---
On 32bit, -mno-avx/-mno-sse/-mno-mmx changes ABI for

1. Vector returns.
2. Vector parameters without varargs.

On 64bit,

1. -mno-avx/-mno-sse changes ABI for

   a. Float/Vector and aggregate with float/vector returns.
   b. Float/Vector and aggregate with float/vector parameters.

2. -mno-i387 changes ABI for

   a.  long double and aggregates with long double returns.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39258