public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] aarch64: cleanup MOVL definition in sysdep.h
@ 2022-08-05 19:30 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-08-05 19:30 UTC (permalink / raw)
  To: glibc-cvs

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

commit 2adfa58c4ffeed47c02449717f24b0e8f0a58ecb
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Jul 13 14:48:59 2022 +0100

    aarch64: cleanup MOVL definition in sysdep.h
    
    PTR_REG is for ILP32, there is no point using it under __LP64__.

Diff:
---
 sysdeps/aarch64/sysdep.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h
index 7d71bf7c28..5c8e6d50c2 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -204,10 +204,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI)
    Note R is a register number and not a register name.  */
 #ifdef __LP64__
 # define MOVL(R, NAME)					\
-	movz	PTR_REG (R), #:abs_g3:NAME;		\
-	movk	PTR_REG (R), #:abs_g2_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g1_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g0_nc:NAME;
+	movz	x##R, #:abs_g3:NAME;			\
+	movk	x##R, #:abs_g2_nc:NAME;			\
+	movk	x##R, #:abs_g1_nc:NAME;			\
+	movk	x##R, #:abs_g0_nc:NAME;
 #else
 # define MOVL(R, NAME)					\
 	movz	PTR_REG (R), #:abs_g1:NAME;		\


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

* [glibc/arm/morello/main] aarch64: cleanup MOVL definition in sysdep.h
@ 2022-11-23 14:40 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:40 UTC (permalink / raw)
  To: glibc-cvs

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

commit 78c03c7974eba88f5e1530c62787f6f7364aca9d
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Jul 13 14:48:59 2022 +0100

    aarch64: cleanup MOVL definition in sysdep.h
    
    PTR_REG is for ILP32, there is no point using it under __LP64__.

Diff:
---
 sysdeps/aarch64/sysdep.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h
index 7d71bf7c28..5c8e6d50c2 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -204,10 +204,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI)
    Note R is a register number and not a register name.  */
 #ifdef __LP64__
 # define MOVL(R, NAME)					\
-	movz	PTR_REG (R), #:abs_g3:NAME;		\
-	movk	PTR_REG (R), #:abs_g2_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g1_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g0_nc:NAME;
+	movz	x##R, #:abs_g3:NAME;			\
+	movk	x##R, #:abs_g2_nc:NAME;			\
+	movk	x##R, #:abs_g1_nc:NAME;			\
+	movk	x##R, #:abs_g0_nc:NAME;
 #else
 # define MOVL(R, NAME)					\
 	movz	PTR_REG (R), #:abs_g1:NAME;		\

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

* [glibc/arm/morello/main] aarch64: cleanup MOVL definition in sysdep.h
@ 2022-10-27 13:50 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 13:50 UTC (permalink / raw)
  To: glibc-cvs

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

commit 3f039a5009917c422fdac8fdc935d4ab40c4a1c8
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Jul 13 14:48:59 2022 +0100

    aarch64: cleanup MOVL definition in sysdep.h
    
    PTR_REG is for ILP32, there is no point using it under __LP64__.

Diff:
---
 sysdeps/aarch64/sysdep.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h
index 7d71bf7c28..5c8e6d50c2 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -204,10 +204,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI)
    Note R is a register number and not a register name.  */
 #ifdef __LP64__
 # define MOVL(R, NAME)					\
-	movz	PTR_REG (R), #:abs_g3:NAME;		\
-	movk	PTR_REG (R), #:abs_g2_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g1_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g0_nc:NAME;
+	movz	x##R, #:abs_g3:NAME;			\
+	movk	x##R, #:abs_g2_nc:NAME;			\
+	movk	x##R, #:abs_g1_nc:NAME;			\
+	movk	x##R, #:abs_g0_nc:NAME;
 #else
 # define MOVL(R, NAME)					\
 	movz	PTR_REG (R), #:abs_g1:NAME;		\

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

* [glibc/arm/morello/main] aarch64: cleanup MOVL definition in sysdep.h
@ 2022-10-26 15:11 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:11 UTC (permalink / raw)
  To: glibc-cvs

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

commit 67e341c682c98b92db3824e33aeb7e5d1214dc14
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Jul 13 14:48:59 2022 +0100

    aarch64: cleanup MOVL definition in sysdep.h
    
    PTR_REG is for ILP32, there is no point using it under __LP64__.

Diff:
---
 sysdeps/aarch64/sysdep.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h
index 7d71bf7c28..5c8e6d50c2 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -204,10 +204,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI)
    Note R is a register number and not a register name.  */
 #ifdef __LP64__
 # define MOVL(R, NAME)					\
-	movz	PTR_REG (R), #:abs_g3:NAME;		\
-	movk	PTR_REG (R), #:abs_g2_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g1_nc:NAME;		\
-	movk	PTR_REG (R), #:abs_g0_nc:NAME;
+	movz	x##R, #:abs_g3:NAME;			\
+	movk	x##R, #:abs_g2_nc:NAME;			\
+	movk	x##R, #:abs_g1_nc:NAME;			\
+	movk	x##R, #:abs_g0_nc:NAME;
 #else
 # define MOVL(R, NAME)					\
 	movz	PTR_REG (R), #:abs_g1:NAME;		\

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

end of thread, other threads:[~2022-11-23 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05 19:30 [glibc/arm/morello/main] aarch64: cleanup MOVL definition in sysdep.h Szabolcs Nagy
2022-10-26 15:11 Szabolcs Nagy
2022-10-27 13:50 Szabolcs Nagy
2022-11-23 14:40 Szabolcs Nagy

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).