[PATCH, i386] RTM support

Uros Bizjak ubizjak@gmail.com
Mon Mar 5 12:05:00 GMT 2012


On Mon, Mar 5, 2012 at 1:02 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:

>>> Agreed, this seems not as nice, but still it works :)
>>> I still do not understand, why not to put something like this?
>>> "xbegin\t1f\n1:"
>>> This is local label, which is not intercept others...
>>
>> Because they should be reserved for inline-asm use, the compiler
>> can always create its own .Lwhatever125 labels.
>
> As far as I understand ".L*" labels are not local, and created in this
> way, it may intercept other compiler genererated ones.
> The beauty of local labels is that they're almost invisible

I'd suggest you generate local label in the expander and pass it to
insn RTX. This way, we can also reuse insn pattern later with eventual
different code label.

Uros.



More information about the Gcc-patches mailing list