Re: [Patch, AArch64] Relax CANNOT_CHANGE_MODE_CLASS.

2014-01-17 Thread Richard Earnshaw
On 16/01/14 18:22, Tejas Belagod wrote: > Tejas Belagod wrote: >> Tejas Belagod wrote: >>> Hi, >>> >>> Currently, CANNOT_CHANGE_MODE_CLASS is too restrictive wrt the mode-changes >>> it >>> allows on FPREGs - it allows none at the moment. In fact, there are many >>> mode >>> changes that are sa

Re: [Patch, AArch64] Relax CANNOT_CHANGE_MODE_CLASS.

2014-01-16 Thread Tejas Belagod
Tejas Belagod wrote: Tejas Belagod wrote: Hi, Currently, CANNOT_CHANGE_MODE_CLASS is too restrictive wrt the mode-changes it allows on FPREGs - it allows none at the moment. In fact, there are many mode changes that are safe and can be allowed. For example, in a pattern like: (subreg:S

Re: [Patch, AArch64] Relax CANNOT_CHANGE_MODE_CLASS.

2013-12-05 Thread Tejas Belagod
Tejas Belagod wrote: Hi, Currently, CANNOT_CHANGE_MODE_CLASS is too restrictive wrt the mode-changes it allows on FPREGs - it allows none at the moment. In fact, there are many mode changes that are safe and can be allowed. For example, in a pattern like: (subreg:SF (reg:V4SF v0) 0) it

[Patch, AArch64] Relax CANNOT_CHANGE_MODE_CLASS.

2013-11-28 Thread Tejas Belagod
Hi, Currently, CANNOT_CHANGE_MODE_CLASS is too restrictive wrt the mode-changes it allows on FPREGs - it allows none at the moment. In fact, there are many mode changes that are safe and can be allowed. For example, in a pattern like: (subreg:SF (reg:V4SF v0) 0) it is legal to reduce th