diff options
author | H. Peter Anvin <[email protected]> | 2013-11-20 12:50:51 -0800 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-11-20 13:57:07 -0800 |
commit | 661c80192d21269c7fc566f1d547510b0c867677 (patch) | |
tree | b0560d5e4a13b708cd10d17012a2a5bf6ddbf4d3 /tools/perf/util/trace-event-scripting.c | |
parent | f4cb1cc18f364d761d5614eb6293cccc6647f259 (diff) |
x86-64, copy_user: Use leal to produce 32-bit results
When we are using lea to produce a 32-bit result, we can use the leal
form, rather than using leaq and worry about truncation elsewhere.
Make the leal explicit, both to be more obvious and since that is what
gcc generates and thus is less likely to trigger obscure gas bugs.
Cc: Fenghua Yu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions