diff options
| author | Denys Vlasenko <[email protected]> | 2015-03-31 19:00:10 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-01 13:17:39 +0200 |
| commit | a734b4a23e4b5a5bba577d11b6e2ff21f6ca4fce (patch) | |
| tree | 3f37abc5fe869f2f347d9cf93c14e78cdcaafd88 /tools/perf/scripts/python | |
| parent | 36acef2510853e2831047ca9e22d333ba7a1047b (diff) | |
x86/asm: Replace "MOVQ $imm, %reg" with MOVL
There is no reason to use MOVQ to load a non-negative immediate
constant value into a 64-bit register. MOVL does the same, since
the upper 32 bits are zero-extended by the CPU.
This makes the code a bit smaller, while leaving functionality
unchanged.
Signed-off-by: Denys Vlasenko <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Will Drewry <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions