diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 22:19:05 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 22:19:05 +0000 |
commit | 9c0b6987e5d94598d301b2337c3f0304bd4c2f02 (patch) | |
tree | 93a8730db7dc286303ddafcad044b3fdecc4e637 /gcc/config/pa/pa32-regs.h | |
parent | e49aa3049f19818b9fa4243daa23ce51c2d2f810 (diff) | |
download | gcc-9c0b6987e5d94598d301b2337c3f0304bd4c2f02.tar.gz |
PR target/26255
* pa.md: Create separate HI and QI move patterns for 32-bit and 64-bit
with hardware float support, and software float support. Add fcpy
alternative to hardware patterns. Add alternatives to copy between
general and floating-point registers to the 32-bit pattern.
* pa.c (pa_secondary_reload): Don't abort if reload tries to find a
secondary reload to load a QI or HI mode constant into a floating
point register.
* pa32-regs.h (VALID_FP_MODE_P): Allow QImode and HImode.
* pa64-regs.h (VALID_FP_MODE_P): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111214 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa32-regs.h')
-rw-r--r-- | gcc/config/pa/pa32-regs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/pa/pa32-regs.h b/gcc/config/pa/pa32-regs.h index e96032e9c23..a17c117726a 100644 --- a/gcc/config/pa/pa32-regs.h +++ b/gcc/config/pa/pa32-regs.h @@ -172,7 +172,8 @@ #define VALID_FP_MODE_P(MODE) \ ((MODE) == SFmode || (MODE) == DFmode \ || (MODE) == SCmode || (MODE) == DCmode \ - || (MODE) == SImode || (TARGET_PA_11 && (MODE) == DImode)) + || (MODE) == QImode || (MODE) == HImode || (MODE) == SImode \ + || (TARGET_PA_11 && (MODE) == DImode)) /* Value is 1 if hard register REGNO can hold a value of machine-mode MODE. |