mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::ctx: Mark problematic data cache miss instructions; minor tweak.
This commit is contained in:
parent
6fec0b3e10
commit
f78afbe351
1 changed files with 3 additions and 3 deletions
|
@ -44,13 +44,13 @@ jump_fcontext:
|
||||||
movq %rdi, %rax // store transfer_t.fctx (retval)
|
movq %rdi, %rax // store transfer_t.fctx (retval)
|
||||||
// ldmxcsr 0x00(%rsp) // load MMX control- and status-word
|
// ldmxcsr 0x00(%rsp) // load MMX control- and status-word
|
||||||
// fldcw 0x04(%rsp) // load x87 control-word
|
// fldcw 0x04(%rsp) // load x87 control-word
|
||||||
subq $-0x08, %rsp // free fc_mxcsr | fc_x87_cw
|
addq $0x08, %rsp // free fc_mxcsr | fc_x87_cw
|
||||||
pop %r12 // load r12
|
pop %r12 // load r12 <-- LLd miss
|
||||||
pop %r13 // load r13
|
pop %r13 // load r13
|
||||||
pop %r14 // load r14
|
pop %r14 // load r14
|
||||||
pop %r15 // load r15
|
pop %r15 // load r15
|
||||||
pop %rbx // load rbx
|
pop %rbx // load rbx
|
||||||
pop %rbp // load rbp
|
pop %rbp // load rbp <-- LLd miss
|
||||||
retq // enter context
|
retq // enter context
|
||||||
|
|
||||||
// mark the size of jump_fcontext
|
// mark the size of jump_fcontext
|
||||||
|
|
Loading…
Reference in a new issue