This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54760] [SH] Add __builtin_thread_pointer, __builtin_set_thread_pointer
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Oct 2012 00:13:51 +0000
- Subject: [Bug target/54760] [SH] Add __builtin_thread_pointer, __builtin_set_thread_pointer
- Auto-submitted: auto-generated
- References: <bug-54760-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54760
--- Comment #6 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-10-12 00:13:51 UTC ---
(In reply to comment #5)
> Kaz, do you happen to know something regarding this matter?
My SH4 software manual says for STC that all stc/stc.l instructions
except stc gbr,rn/stc gbr,@-rn are privileged instructions which
might cause an illegal exception in user mode. LDC has a similar
remark.