diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-12 00:45:36 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-12 00:45:36 +0000 |
commit | e3588b78a78b731d382b20c59c9bcb3877185884 (patch) | |
tree | 9267ba8733ecf30e2555dc1d5a4b13231bb49c6d /gcc/config/sh/sh.md | |
parent | 2191065881c04ea7c9655e99c9d177fc303dd3ed (diff) | |
download | gcc-e3588b78a78b731d382b20c59c9bcb3877185884.tar.gz |
PR target/54760
* config/sh/sh.c (bdesc): Remove thread pointer built-ins.
* config/sh/sh.md (get_thread_pointer, set_thread_pointer): Append mode
name 'si'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r-- | gcc/config/sh/sh.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index dacabb7cdf2..0ff6aae8377 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -10210,7 +10210,7 @@ label: ;; ;; On SH the thread pointer is kept in the GBR. ;; These patterns are usually expanded from the respective built-in functions. -(define_expand "get_thread_pointer" +(define_expand "get_thread_pointersi" [(set (match_operand:SI 0 "register_operand") (reg:SI GBR_REG))] "TARGET_SH1") @@ -10221,7 +10221,7 @@ label: "stc gbr,%0" [(set_attr "type" "tls_load")]) -(define_expand "set_thread_pointer" +(define_expand "set_thread_pointersi" [(set (reg:SI GBR_REG) (unspec_volatile:SI [(match_operand:SI 0 "register_operand")] UNSPECV_GBR))] |