GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 91830e68 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Gave up inlining get thread local

parent f9dcc877
...@@ -2468,20 +2468,6 @@ impl <'a> InstructionSelection { ...@@ -2468,20 +2468,6 @@ impl <'a> InstructionSelection {
{ {
let mut rets = self.emit_runtime_entry(&entrypoints::GET_THREAD_LOCAL, vec![], None, None, f_context, vm); let mut rets = self.emit_runtime_entry(&entrypoints::GET_THREAD_LOCAL, vec![], None, None, f_context, vm);
rets.pop().unwrap() rets.pop().unwrap()
/* TODO: Fix this
let tmp = make_temporary(f_context, ADDRESS_TYPE.clone(), vm);
// Read the start address of thread local storage
self.backend.emit_mrs(&tmp, "TPIDR_EL0");
// Add the offset of mu_tls
self.backend.emit_add_str(&tmp, &tmp, ":tprel_hi12:mu_tls, LSL #12");
self.backend.emit_add_str(&tmp, &tmp, ":tprel_lo12_nc:mu_tls");
// Load tmp with the value of mu_tls
emit_load(self.backend.as_mut(), &tmp, &tmp, f_context, vm);
tmp*/
} }
// ret: Option<Vec<P<Value>> // ret: Option<Vec<P<Value>>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment