[PATCH 2/2] [ARC] Add TLS support.

Joern Wolfgang Rennecke gnu@amylaar.uk
Thu Apr 28 08:47:00 GMT 2016



On 15/04/16 10:58, Claudiu Zissulescu wrote:
> TLS mods for ARC backend.
>
> OK to apply?
> Claudiu
>
>
This is using an inefficient TLS global dynamic implementation that 
would not
be expected in a new and/or well-tuned port.
However, if you have to work with a legacy runtime, that can't be helped.

> +(define_insn "tls_gd_load"
..
> +   ; if the linker has to patch this into IE, we need a long insns

Typo: a long insn.

arc_emit_call_tls_get_addr is missing a start-of-function comment.

Otherwise this is OK.



More information about the Gcc-patches mailing list