i386.c (ix86_cannot_change_mode_class): Remove GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
gcc/ * config/i386/i386.c (ix86_cannot_change_mode_class): Remove GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test. From-SVN: r215450
This commit is contained in:
parent
6969eb0dcf
commit
c2095627b7
2 changed files with 5 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
|
||||||
|
|
||||||
|
* config/i386/i386.c (ix86_cannot_change_mode_class): Remove
|
||||||
|
GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
|
||||||
|
|
||||||
2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
|
2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
|
||||||
|
|
||||||
* hard-reg-set.h: Include hash-table.h.
|
* hard-reg-set.h: Include hash-table.h.
|
||||||
|
|
|
@ -37522,13 +37522,6 @@ ix86_cannot_change_mode_class (enum machine_mode from, enum machine_mode to,
|
||||||
the vec_dupv4hi pattern. */
|
the vec_dupv4hi pattern. */
|
||||||
if (GET_MODE_SIZE (from) < 4)
|
if (GET_MODE_SIZE (from) < 4)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* Vector registers do not support subreg with nonzero offsets, which
|
|
||||||
are otherwise valid for integer registers. Since we can't see
|
|
||||||
whether we have a nonzero offset from here, prohibit all
|
|
||||||
nonparadoxical subregs changing size. */
|
|
||||||
if (GET_MODE_SIZE (to) < GET_MODE_SIZE (from))
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue