projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95aa28a
)
(FUNCTION_ARG): Pass complex float in float regs.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 25 Dec 1993 14:02:34 +0000
(09:02 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 25 Dec 1993 14:02:34 +0000
(09:02 -0500)
From-SVN: r6314
gcc/config/alpha/alpha.h
patch
|
blob
|
history
diff --git
a/gcc/config/alpha/alpha.h
b/gcc/config/alpha/alpha.h
index 54c41f1b4f363a65f131aaaa58fad38ba5b9c04a..41eab5d1ed634516cd05c1a92ea37196c1a0923d 100644
(file)
--- a/
gcc/config/alpha/alpha.h
+++ b/
gcc/config/alpha/alpha.h
@@
-783,8
+783,11
@@
enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
#define FUNCTION_ARG(CUM, MODE, TYPE, NAMED) \
((CUM) < 6 && ! MUST_PASS_IN_STACK (MODE, TYPE) \
? gen_rtx(REG, (MODE), \
- (CUM) + 16 + (TARGET_FPREGS \
- && GET_MODE_CLASS (MODE) == MODE_FLOAT) * 32) : 0)
+ (CUM) + 16 + ((TARGET_FPREGS \
+ && (GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT \
+ || GET_MODE_CLASS (MODE) == MODE_FLOAT)) \
+ * 32)) \
+ : 0)
/* Specify the padding direction of arguments.