Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zafl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
zafl
Commits
69707b3c
Commit
69707b3c
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Handle 2,4,8 byte compares/div
parent
435cf42b
No related branches found
No related tags found
2 merge requests
!6
Resolve "new instrumentation for laf-intel"
,
!5
Resolve "new instrumentation for laf-intel"
Pipeline
#2646
canceled
6 years ago
Stage: clean
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/laf/laf.cpp
+1
-5
1 addition, 5 deletions
tools/laf/laf.cpp
with
1 addition
and
5 deletions
tools/laf/laf.cpp
+
1
−
5
View file @
69707b3c
...
...
@@ -228,10 +228,6 @@ int Laf_t::doTraceCompare()
continue
;
}
// XXX DEBUG
if
(
d
.
getOperand
(
0
)
->
getArgumentSizeInBytes
()
>=
4
)
continue
;
m_num_cmp
++
;
// we now have a cmp instruction to trace
...
...
@@ -383,7 +379,7 @@ bool Laf_t::traceBytes2(Instruction_t *p_instr, const uint32_t p_immediate)
else
save_tmp
=
getFreeRegister
(
p_instr
,
free_reg8
,
RegisterSet_t
({
rn_RAX
,
rn_RBX
,
rn_RCX
,
rn_RDX
,
rn_RDI
,
rn_RSI
,
rn_R8
,
rn_R9
,
rn_R10
,
rn_R11
,
rn_R12
,
rn_R13
,
rn_R14
,
rn_R15
}));
const
auto
free_reg1
=
registerToString
(
convertRegisterTo8bit
(
Register
::
getRegister
(
free_reg8
)));
const
auto
free_reg4
=
registerToString
(
convertRegisterTo
16
bit
(
Register
::
getRegister
(
free_reg8
)));
const
auto
free_reg4
=
registerToString
(
convertRegisterTo
32
bit
(
Register
::
getRegister
(
free_reg8
)));
if
(
free_reg1
.
empty
())
throw
;
if
(
m_verbose
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment