xtensa: don't use l32r opcode directly
xtensa assembler is capable of representing register loads with either
movi + addmi, l32r or const16, depending on the core configuration.
Don't use '.literal' and 'l32r' directly in the code, use 'movi' and let
the assembler relax them.
Signed-off-by:
Max Filippov <jcmvbkbc@gmail.com>
Showing
- arch/xtensa/boot/boot-elf/bootstrap.S 14 additions, 15 deletionsarch/xtensa/boot/boot-elf/bootstrap.S
- arch/xtensa/include/asm/futex.h 4 additions, 4 deletionsarch/xtensa/include/asm/futex.h
- arch/xtensa/include/asm/uaccess.h 4 additions, 6 deletionsarch/xtensa/include/asm/uaccess.h
- arch/xtensa/kernel/head.S 2 additions, 6 deletionsarch/xtensa/kernel/head.S
Loading
Please register or sign in to comment