This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 10/28/14 06:40, Jakub Jelinek wrote:
I'd say if on the target reg26 or reg27 is used or clobbered by multiplication, then it is a user error to use it this way, the register then isn't suitable for the local hard register usage.
Right.And this situation is a great example of why clobbering hard registers in patterns is a bad idea.
This has a much greater chance of working if the patterns instead clobbered a pseudo/scratch where the constraint specifies a class that has r26/r27 as a member (possibly its only member).
Jeff
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |