public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] x86: Remove cast on assembly inline input/outputs
@ 2022-10-04 13:00 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=412039e9a42f78ca01b217badb9861338b7a226a

commit 412039e9a42f78ca01b217badb9861338b7a226a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 26 08:45:41 2022 -0300

    x86: Remove cast on assembly inline input/outputs

Diff:
---
 sysdeps/x86/fpu/sfp-machine.h | 94 +++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/sysdeps/x86/fpu/sfp-machine.h b/sysdeps/x86/fpu/sfp-machine.h
index 89a73642b1..9324450828 100644
--- a/sysdeps/x86/fpu/sfp-machine.h
+++ b/sysdeps/x86/fpu/sfp-machine.h
@@ -69,71 +69,71 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
 	   "adc{l} {%9,%2|%2,%9}\n\t"				\
 	   "adc{l} {%7,%1|%1,%7}\n\t"				\
 	   "adc{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "%1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x3),						\
+	     "g" (y3),						\
+	     "%1" (x2),						\
+	     "g" (y2),						\
+	     "%2" (x1),						\
+	     "g" (y1),						\
+	     "%3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("add{l} {%8,%2|%2,%8}\n\t"				\
 	   "adc{l} {%6,%1|%1,%6}\n\t"				\
 	   "adc{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x2),						\
+	     "g" (y2),						\
+	     "%1" (x1),						\
+	     "g" (y1),						\
+	     "%2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0)	\
   __asm__ ("sub{l} {%11,%3|%3,%11}\n\t"				\
 	   "sbb{l} {%9,%2|%2,%9}\n\t"				\
 	   "sbb{l} {%7,%1|%1,%7}\n\t"				\
 	   "sbb{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x3),						\
+	     "g" (y3),						\
+	     "1" (x2),						\
+	     "g" (y2),						\
+	     "2" (x1),						\
+	     "g" (y1),						\
+	     "3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("sub{l} {%8,%2|%2,%8}\n\t"				\
 	   "sbb{l} {%6,%1|%1,%6}\n\t"				\
 	   "sbb{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x2),						\
+	     "g" (y2),						\
+	     "1" (x1),						\
+	     "g" (y1),						\
+	     "2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADDI_4(x3,x2,x1,x0,i)			\
   __asm__ ("add{l} {%4,%3|%3,%4}\n\t"				\
 	   "adc{l} {$0,%2|%2,0}\n\t"				\
 	   "adc{l} {$0,%1|%1,0}\n\t"				\
 	   "adc{l} {$0,%0|%0,0}"				\
-	   : "+r" ((USItype) (x3)),				\
-	     "+&r" ((USItype) (x2)),				\
-	     "+&r" ((USItype) (x1)),				\
-	     "+&r" ((USItype) (x0))				\
-	   : "g" ((USItype) (i)))
+	   : "+r" (x3),						\
+	     "+&r" (x2),					\
+	     "+&r" (x1),					\
+	     "+&r" (x0)						\
+	   : "g" (i))
 
 
 # define _FP_MUL_MEAT_S(R,X,Y)				\

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] x86: Remove cast on assembly inline input/outputs
@ 2023-08-30 12:37 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ace0fffae7e69c6c91ca9d654ae0376d50dd5064

commit ace0fffae7e69c6c91ca9d654ae0376d50dd5064
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 26 08:45:41 2022 -0300

    x86: Remove cast on assembly inline input/outputs

Diff:
---
 sysdeps/x86/fpu/sfp-machine.h | 94 +++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/sysdeps/x86/fpu/sfp-machine.h b/sysdeps/x86/fpu/sfp-machine.h
index 89a73642b1..9324450828 100644
--- a/sysdeps/x86/fpu/sfp-machine.h
+++ b/sysdeps/x86/fpu/sfp-machine.h
@@ -69,71 +69,71 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
 	   "adc{l} {%9,%2|%2,%9}\n\t"				\
 	   "adc{l} {%7,%1|%1,%7}\n\t"				\
 	   "adc{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "%1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x3),						\
+	     "g" (y3),						\
+	     "%1" (x2),						\
+	     "g" (y2),						\
+	     "%2" (x1),						\
+	     "g" (y1),						\
+	     "%3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("add{l} {%8,%2|%2,%8}\n\t"				\
 	   "adc{l} {%6,%1|%1,%6}\n\t"				\
 	   "adc{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x2),						\
+	     "g" (y2),						\
+	     "%1" (x1),						\
+	     "g" (y1),						\
+	     "%2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0)	\
   __asm__ ("sub{l} {%11,%3|%3,%11}\n\t"				\
 	   "sbb{l} {%9,%2|%2,%9}\n\t"				\
 	   "sbb{l} {%7,%1|%1,%7}\n\t"				\
 	   "sbb{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x3),						\
+	     "g" (y3),						\
+	     "1" (x2),						\
+	     "g" (y2),						\
+	     "2" (x1),						\
+	     "g" (y1),						\
+	     "3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("sub{l} {%8,%2|%2,%8}\n\t"				\
 	   "sbb{l} {%6,%1|%1,%6}\n\t"				\
 	   "sbb{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x2),						\
+	     "g" (y2),						\
+	     "1" (x1),						\
+	     "g" (y1),						\
+	     "2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADDI_4(x3,x2,x1,x0,i)			\
   __asm__ ("add{l} {%4,%3|%3,%4}\n\t"				\
 	   "adc{l} {$0,%2|%2,0}\n\t"				\
 	   "adc{l} {$0,%1|%1,0}\n\t"				\
 	   "adc{l} {$0,%0|%0,0}"				\
-	   : "+r" ((USItype) (x3)),				\
-	     "+&r" ((USItype) (x2)),				\
-	     "+&r" ((USItype) (x1)),				\
-	     "+&r" ((USItype) (x0))				\
-	   : "g" ((USItype) (i)))
+	   : "+r" (x3),						\
+	     "+&r" (x2),					\
+	     "+&r" (x1),					\
+	     "+&r" (x0)						\
+	   : "g" (i))
 
 
 # define _FP_MUL_MEAT_S(R,X,Y)				\

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] x86: Remove cast on assembly inline input/outputs
@ 2023-02-09 19:49 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:49 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9d88899dcd37b0745a65d0e53dd89b148f213e38

commit 9d88899dcd37b0745a65d0e53dd89b148f213e38
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 26 08:45:41 2022 -0300

    x86: Remove cast on assembly inline input/outputs

Diff:
---
 sysdeps/x86/fpu/sfp-machine.h | 94 +++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/sysdeps/x86/fpu/sfp-machine.h b/sysdeps/x86/fpu/sfp-machine.h
index 89a73642b1..9324450828 100644
--- a/sysdeps/x86/fpu/sfp-machine.h
+++ b/sysdeps/x86/fpu/sfp-machine.h
@@ -69,71 +69,71 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
 	   "adc{l} {%9,%2|%2,%9}\n\t"				\
 	   "adc{l} {%7,%1|%1,%7}\n\t"				\
 	   "adc{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "%1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x3),						\
+	     "g" (y3),						\
+	     "%1" (x2),						\
+	     "g" (y2),						\
+	     "%2" (x1),						\
+	     "g" (y1),						\
+	     "%3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("add{l} {%8,%2|%2,%8}\n\t"				\
 	   "adc{l} {%6,%1|%1,%6}\n\t"				\
 	   "adc{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x2),						\
+	     "g" (y2),						\
+	     "%1" (x1),						\
+	     "g" (y1),						\
+	     "%2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0)	\
   __asm__ ("sub{l} {%11,%3|%3,%11}\n\t"				\
 	   "sbb{l} {%9,%2|%2,%9}\n\t"				\
 	   "sbb{l} {%7,%1|%1,%7}\n\t"				\
 	   "sbb{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x3),						\
+	     "g" (y3),						\
+	     "1" (x2),						\
+	     "g" (y2),						\
+	     "2" (x1),						\
+	     "g" (y1),						\
+	     "3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("sub{l} {%8,%2|%2,%8}\n\t"				\
 	   "sbb{l} {%6,%1|%1,%6}\n\t"				\
 	   "sbb{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x2),						\
+	     "g" (y2),						\
+	     "1" (x1),						\
+	     "g" (y1),						\
+	     "2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADDI_4(x3,x2,x1,x0,i)			\
   __asm__ ("add{l} {%4,%3|%3,%4}\n\t"				\
 	   "adc{l} {$0,%2|%2,0}\n\t"				\
 	   "adc{l} {$0,%1|%1,0}\n\t"				\
 	   "adc{l} {$0,%0|%0,0}"				\
-	   : "+r" ((USItype) (x3)),				\
-	     "+&r" ((USItype) (x2)),				\
-	     "+&r" ((USItype) (x1)),				\
-	     "+&r" ((USItype) (x0))				\
-	   : "g" ((USItype) (i)))
+	   : "+r" (x3),						\
+	     "+&r" (x2),					\
+	     "+&r" (x1),					\
+	     "+&r" (x0)						\
+	   : "g" (i))
 
 
 # define _FP_MUL_MEAT_S(R,X,Y)				\

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] x86: Remove cast on assembly inline input/outputs
@ 2022-10-28 17:42 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:42 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cb878cbce2cb1ac3d8bfc3c645e7ea67d3308470

commit cb878cbce2cb1ac3d8bfc3c645e7ea67d3308470
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 26 08:45:41 2022 -0300

    x86: Remove cast on assembly inline input/outputs

Diff:
---
 sysdeps/x86/fpu/sfp-machine.h | 94 +++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/sysdeps/x86/fpu/sfp-machine.h b/sysdeps/x86/fpu/sfp-machine.h
index 89a73642b1..9324450828 100644
--- a/sysdeps/x86/fpu/sfp-machine.h
+++ b/sysdeps/x86/fpu/sfp-machine.h
@@ -69,71 +69,71 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
 	   "adc{l} {%9,%2|%2,%9}\n\t"				\
 	   "adc{l} {%7,%1|%1,%7}\n\t"				\
 	   "adc{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "%1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x3),						\
+	     "g" (y3),						\
+	     "%1" (x2),						\
+	     "g" (y2),						\
+	     "%2" (x1),						\
+	     "g" (y1),						\
+	     "%3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("add{l} {%8,%2|%2,%8}\n\t"				\
 	   "adc{l} {%6,%1|%1,%6}\n\t"				\
 	   "adc{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "%0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "%1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "%2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "%0" (x2),						\
+	     "g" (y2),						\
+	     "%1" (x1),						\
+	     "g" (y1),						\
+	     "%2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0)	\
   __asm__ ("sub{l} {%11,%3|%3,%11}\n\t"				\
 	   "sbb{l} {%9,%2|%2,%9}\n\t"				\
 	   "sbb{l} {%7,%1|%1,%7}\n\t"				\
 	   "sbb{l} {%5,%0|%0,%5}"				\
-	   : "=r" ((USItype) (r3)),				\
-	     "=&r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x3)),				\
-	     "g" ((USItype) (y3)),				\
-	     "1" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "2" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "3" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r3),						\
+	     "=&r" (r2),					\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x3),						\
+	     "g" (y3),						\
+	     "1" (x2),						\
+	     "g" (y2),						\
+	     "2" (x1),						\
+	     "g" (y1),						\
+	     "3" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   __asm__ ("sub{l} {%8,%2|%2,%8}\n\t"				\
 	   "sbb{l} {%6,%1|%1,%6}\n\t"				\
 	   "sbb{l} {%4,%0|%0,%4}"				\
-	   : "=r" ((USItype) (r2)),				\
-	     "=&r" ((USItype) (r1)),				\
-	     "=&r" ((USItype) (r0))				\
-	   : "0" ((USItype) (x2)),				\
-	     "g" ((USItype) (y2)),				\
-	     "1" ((USItype) (x1)),				\
-	     "g" ((USItype) (y1)),				\
-	     "2" ((USItype) (x0)),				\
-	     "g" ((USItype) (y0)))
+	   : "=r" (r2),						\
+	     "=&r" (r1),					\
+	     "=&r" (r0)						\
+	   : "0" (x2),						\
+	     "g" (y2),						\
+	     "1" (x1),						\
+	     "g" (y1),						\
+	     "2" (x0),						\
+	     "g" (y0))
 # define __FP_FRAC_ADDI_4(x3,x2,x1,x0,i)			\
   __asm__ ("add{l} {%4,%3|%3,%4}\n\t"				\
 	   "adc{l} {$0,%2|%2,0}\n\t"				\
 	   "adc{l} {$0,%1|%1,0}\n\t"				\
 	   "adc{l} {$0,%0|%0,0}"				\
-	   : "+r" ((USItype) (x3)),				\
-	     "+&r" ((USItype) (x2)),				\
-	     "+&r" ((USItype) (x1)),				\
-	     "+&r" ((USItype) (x0))				\
-	   : "g" ((USItype) (i)))
+	   : "+r" (x3),						\
+	     "+&r" (x2),					\
+	     "+&r" (x1),					\
+	     "+&r" (x0)						\
+	   : "g" (i))
 
 
 # define _FP_MUL_MEAT_S(R,X,Y)				\

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-30 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 13:00 [glibc/azanella/clang] x86: Remove cast on assembly inline input/outputs Adhemerval Zanella
2022-10-28 17:42 Adhemerval Zanella
2023-02-09 19:49 Adhemerval Zanella
2023-08-30 12:37 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).