diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-23 20:51:00 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-23 20:51:00 +0000 |
commit | 22dd8d0e994c4b8d65d141c2b6d94c8e3f09a473 (patch) | |
tree | a5d5505e1aa6fa31c9ad1126476f0b586999ccb8 /gcc/regclass.c | |
parent | 93d627796dd901116f3f62a3c73bbb054da7cdfe (diff) | |
download | gcc-22dd8d0e994c4b8d65d141c2b6d94c8e3f09a473.tar.gz |
* recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
(constrain_operands): Likewise.
* regclass.c (record_reg_classes): Likewise.
* reload.c (find_reloads): Likewise.
* doc/md.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 08051cdb642..1451f8a4a75 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1635,7 +1635,10 @@ record_reg_classes (n_alts, n_ops, ops, modes, case 'E': case 'F': - if (GET_CODE (op) == CONST_DOUBLE) + if (GET_CODE (op) == CONST_DOUBLE + || (GET_CODE (op) == CONST_VECTOR + && (GET_MODE_CLASS (GET_MODE (op)) + == MODE_VECTOR_FLOAT))) win = 1; break; |