diff mbox series

[29/52] or1k: Remove macros {FLOAT, DOUBLE, LONG_DOUBLE}_TYPE_SIZE

Message ID 791d1d140fac173888b7645b716f2f2cc6a854ee.1717134752.git.linkw@linux.ibm.com
State New
Headers show
Series Replace {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE with new hook | expand

Commit Message

Kewen.Lin June 3, 2024, 3:01 a.m. UTC
This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
defines in or1k port.

gcc/ChangeLog:

	* config/or1k/or1k.h (FLOAT_TYPE_SIZE): Remove.
	(DOUBLE_TYPE_SIZE): Likewise.
	(LONG_DOUBLE_TYPE_SIZE): Likewise.
---
 gcc/config/or1k/or1k.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Kewen.Lin June 13, 2024, 7:16 a.m. UTC | #1
Hi,

Gentle ping:

https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653363.html

BR,
Kewen

on 2024/6/3 11:01, Kewen Lin wrote:
> This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
> defines in or1k port.
> 
> gcc/ChangeLog:
> 
> 	* config/or1k/or1k.h (FLOAT_TYPE_SIZE): Remove.
> 	(DOUBLE_TYPE_SIZE): Likewise.
> 	(LONG_DOUBLE_TYPE_SIZE): Likewise.
> ---
>  gcc/config/or1k/or1k.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h
> index 0ff73df33e7..a55509f9f32 100644
> --- a/gcc/config/or1k/or1k.h
> +++ b/gcc/config/or1k/or1k.h
> @@ -67,9 +67,6 @@
>  #define SHORT_TYPE_SIZE 16
>  #define LONG_TYPE_SIZE 32
>  #define LONG_LONG_TYPE_SIZE 64
> -#define FLOAT_TYPE_SIZE 32
> -#define DOUBLE_TYPE_SIZE 64
> -#define LONG_DOUBLE_TYPE_SIZE 64
>  #define WCHAR_TYPE_SIZE 32
>  
>  #undef SIZE_TYPE
Stafford Horne June 20, 2024, 2:18 p.m. UTC | #2
On Thu, Jun 13, 2024 at 03:16:44PM +0800, Kewen.Lin wrote:
> Hi,
> 
> Gentle ping:
> 
> https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653363.html

Hello since this is a treewide update I am not the best person to approve just
this single patch.  But it does look good to me as this is what you are doing to
all other architectures.

-Stafford

> BR,
> Kewen
> 
> on 2024/6/3 11:01, Kewen Lin wrote:
> > This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE
> > defines in or1k port.
> > 
> > gcc/ChangeLog:
> > 
> > 	* config/or1k/or1k.h (FLOAT_TYPE_SIZE): Remove.
> > 	(DOUBLE_TYPE_SIZE): Likewise.
> > 	(LONG_DOUBLE_TYPE_SIZE): Likewise.
> > ---
> >  gcc/config/or1k/or1k.h | 3 ---
> >  1 file changed, 3 deletions(-)
> > 
> > diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h
> > index 0ff73df33e7..a55509f9f32 100644
> > --- a/gcc/config/or1k/or1k.h
> > +++ b/gcc/config/or1k/or1k.h
> > @@ -67,9 +67,6 @@
> >  #define SHORT_TYPE_SIZE 16
> >  #define LONG_TYPE_SIZE 32
> >  #define LONG_LONG_TYPE_SIZE 64
> > -#define FLOAT_TYPE_SIZE 32
> > -#define DOUBLE_TYPE_SIZE 64
> > -#define LONG_DOUBLE_TYPE_SIZE 64
> >  #define WCHAR_TYPE_SIZE 32
> >  
> >  #undef SIZE_TYPE
>
diff mbox series

Patch

diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h
index 0ff73df33e7..a55509f9f32 100644
--- a/gcc/config/or1k/or1k.h
+++ b/gcc/config/or1k/or1k.h
@@ -67,9 +67,6 @@ 
 #define SHORT_TYPE_SIZE 16
 #define LONG_TYPE_SIZE 32
 #define LONG_LONG_TYPE_SIZE 64
-#define FLOAT_TYPE_SIZE 32
-#define DOUBLE_TYPE_SIZE 64
-#define LONG_DOUBLE_TYPE_SIZE 64
 #define WCHAR_TYPE_SIZE 32
 
 #undef SIZE_TYPE