Patchwork [ARM] require 64-bit hw-int for all arm targets

login
register
mail settings
Submitter Richard Earnshaw
Date Aug. 7, 2013, 1:52 p.m.
Message ID <5202510C.4030401@arm.com>
Download mbox | patch
Permalink /patch/265516/
State New
Headers show

Comments

Richard Earnshaw - Aug. 7, 2013, 1:52 p.m.
On 07/08/13 01:25, Joseph S. Myers wrote:
> On Tue, 30 Jul 2013, Richard Earnshaw wrote:
> 
>> Most arm target configs now require a 64-bit HW-int.  Unfortunately a few of
>> the older, less commonly used config targets do not.  The code in arm.c now
>> pretty much requires that a 64-bit HW-int is used, especially for
>> vectorization to work.
>>
>> This patch makes 64-bit HW-int the default for all arm configs and cleans up
>> the configure script accordingly.
>>
>> 	* config.gcc (arm): Require 64-bit host-wide-int for all ARM
>> 	target configs.
> 
> The configuration in libcpp/configure.ac of which targets need 64-bit 
> HOST_WIDE_INT always needs to be kept in sync with that in gcc/config.gcc.
> 


Oops.  Fixed thusly:

2013-08-07  Richard Earnshaw  <rearnsha@arm.com>

	* configure.ac: Set need_64bit_hwint for all arm targets.
	* configure: Regenerated.

Patch

--- configure	(revision 201547)
+++ configure	(local)
@@ -7152,9 +7152,7 @@  fi
 case $target in
 	aarch64*-*-* | \
 	alpha*-*-* | \
-	arm*-*-*eabi* | \
-	arm*-*-rtems* | \
-	arm*-*-symbianelf* | \
+	arm*-*-* | \
 	x86_64-*-* | \
 	ia64-*-* | \
 	hppa*64*-*-* | \
--- configure.ac	(revision 201547)
+++ configure.ac	(local)
@@ -184,9 +184,7 @@  m4_changequote(,)
 case $target in
 	aarch64*-*-* | \
 	alpha*-*-* | \
-	arm*-*-*eabi* | \
-	arm*-*-rtems* | \
-	arm*-*-symbianelf* | \
+	arm*-*-* | \
 	x86_64-*-* | \
 	ia64-*-* | \
 	hppa*64*-*-* | \