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]

Re: Subreg splitting and floating point


Frederic Riss <frederic.riss@gmail.com> writes:

> On 6 January 2011 17:02, Ian Lance Taylor <iant@google.com> wrote:
>> Oh yeah, you should never have a subreg of a subreg. ÂThat's a bug.
>> Where did that come from?
>
> Oh, that's interesting information! I have a splitter for movdf that
> must be the culprit. I will tighten the split condition to disallow
> splitting a subreg and I bet it will fix it all.

It may be OK to split the subreg, but make sure you generate the new
subreg using simplify_gen_subreg, rather than just generating it from
a define_insn pattern.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]