commit | 30b5ba5cf333cc650e474eaf2cc1ae91bc7cf89f | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Mon Apr 18 17:09:44 2016 +0200 |
committer | Will Deacon <will.deacon@arm.com> | Tue Apr 26 12:22:59 2016 +0100 |
tree | 4a812bfdf836f1f8e59e7f8d4c67ef7a52f2758b | |
parent | 0cd3defe0af4153ffc5fe39bcfa4abfc301984e9 [diff] |
arm64: introduce mov_q macro to move a constant into a 64-bit register Implement a macro mov_q that can be used to move an immediate constant into a 64-bit register, using between 2 and 4 movz/movk instructions (depending on the operand) Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>