projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894715d
)
(HARD_REGNO_MODE_OK): Multi-word objects cannot go into MQ, LR, or CTR.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Oct 1993 01:55:58 +0000
(21:55 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Oct 1993 01:55:58 +0000
(21:55 -0400)
From-SVN: r5867
gcc/config/rs6000/rs6000.h
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.h
b/gcc/config/rs6000/rs6000.h
index 6e1358e9ca8d37ddf4b9356d7f89a6895b4f097c..77fb7d23d998cb9c8a09bf1b4674fc5eac3cdb3b 100644
(file)
--- a/
gcc/config/rs6000/rs6000.h
+++ b/
gcc/config/rs6000/rs6000.h
@@
-404,7
+404,8
@@
extern char *rs6000_cpu_string;
#define HARD_REGNO_MODE_OK(REGNO, MODE) \
(FP_REGNO_P (REGNO) ? GET_MODE_CLASS (MODE) == MODE_FLOAT \
: CR_REGNO_P (REGNO) ? GET_MODE_CLASS (MODE) == MODE_CC \
- : ! INT_REGNO_P (REGNO) ? GET_MODE_CLASS (MODE) == MODE_INT \
+ : ! INT_REGNO_P (REGNO) ? (GET_MODE_CLASS (MODE) == MODE_INT \
+ && GET_MODE_SIZE (MODE) <= UNITS_PER_WORD) \
: 1)
/* Value is 1 if it is a good idea to tie two pseudo registers