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] | |
On 12/7/12 2:53 PM, Chung-Lin Tang wrote:
> Finally, what I personally need, the MIPS parts.
>
> Thanks,
> Chung-Lin
>
> * config/mips/mips.c (mips_get_tp): Add 'target' parameter for
> generating to specific reg.
> (mips_legitimize_tls_address): Update calls to mips_get_tp().
> (mips_expand_builtin_thread_pointer): Add hook function for
> TARGET_EXPAND_BUILTIN_THREAD_POINTER.
>
MIPS parts updated to use MD pattern.
Thanks,
Chung-Lin
* config/mips/mips.md (get_thread_pointer<mode>): New pattern.
* config/mips/mips-protos.h (mips_expand_thread_pointer): Add extern
declaration.
* config/mips/mips.c (mips_expand_thread_pointer): Renamed from
mips_get_tp.
(mips_get_tp): New stub calling mips_expand_thread_pointer.
Attachment:
mips.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |