Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/MCAnalyzer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,8 @@ Insert `iaca` and `llvm-mca` start markers at this position.
"""
function mark_start()
@asmcall("""
movl \$\$111, %ebx
.byte 0x64, 0x67, 0x90
# LLVM-MCA-BEGIN
""", "~{memory},~{ebx}", true)
""", "~{memory}", true)
end

"""
Expand All @@ -189,9 +187,7 @@ Insert `iaca` and `llvm-mca` end markers at this position.
function mark_end()
@asmcall("""
# LLVM-MCA-END
movl \$\$222, %ebx
.byte 0x64, 0x67, 0x90
""", "~{memory},~{ebx}", true)
""", "~{memory}", true)
end

end # module