Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1858)

Unified Diff: gcc/gcc/config/i386/i386.md

Issue 3453012: [gcc] x86_64 TLS support refactoring (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: ready for code review Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | gcc/gcc/varasm.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/i386.md
diff --git a/gcc/gcc/config/i386/i386.md b/gcc/gcc/config/i386/i386.md
index af717f423ef1658b5328c1eaa373873b0ee1b8cd..8bced60f81ba507f677673d8b3e890e89f636672 100644
--- a/gcc/gcc/config/i386/i386.md
+++ b/gcc/gcc/config/i386/i386.md
@@ -16436,30 +16436,6 @@
operands[2] = ix86_tls_get_addr ();
})
-(define_insn "*naclcall_tls"
- [(set (match_operand 0 "register_operand" "=a")
- (call (mem:QI (match_operand:DI 2 "call_insn_operand" ""))
- (match_operand 3 "" "")))
- (unspec:SI [(match_operand:SI 1 "tls_symbolic_operand" "")]
- UNSPEC_TPOFF)]
- "TARGET_64BIT"
- { return "mov{q}\t{$%a1@TPOFF, %%rdi|rdi, %a1@TPOFF}\n\tcall\t%P2"; }
- [(set_attr "type" "multi")])
-
-(define_expand "naclcall_tls"
- [(parallel [(set (match_operand 0 "" "")
- (call (mem:QI (match_dup 2)) (const_int 0)))
- (unspec:SI [(match_operand:SI 1 "tls_symbolic_operand" "")]
- UNSPEC_TPOFF)])]
- "TARGET_64BIT"
-{
- rtx op = gen_lowpart (SImode, operands[1]);
- SYMBOL_REF_FLAGS (op) = SYMBOL_REF_FLAGS (operands[1]);
- operands[1] = op;
- operands[2] = ix86_tls_get_addr ();
-}
-)
-
(define_insn "*tls_local_dynamic_base_32_gnu"
[(set (match_operand:SI 0 "register_operand" "=a")
(unspec:SI [(match_operand:SI 1 "register_operand" "b")
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | gcc/gcc/varasm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698