This is the mail archive of the gcc-patches@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: [patch 2/2] PR27313 Transform conditional stores


Michael Matz <matz@suse.de> wrote on 30/04/2007 16:12:01:

>
> But that patch is bound to die in that form anyway.  The notrap property
> can't be easily expressed in our infrastructure, so I've integrated it
> into the transformation itself.  A pity.  But try the attached patch
> instead.
>
>

Hi Michael,

Do you think this patch can be extended to conditional loads as well?
I mean, in case you have:

if (cond) x = *p;

-->

int temp = *p;
if (cond) x = temp;

Of course we need non-trap check here, since we're performing a speculative
load.

Does it seems a reasonable extension to your patch?
I'd like to get some opinions and suggestions.

Thanks,
Tehila.


> Ciao,
> Michael.[attachment "all-cselim.diff" deleted by Tehila
Meyzels/Haifa/IBM]


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