]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: memset: Limit excessive `noreorder' assembly mode use
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 2 Oct 2018 11:50:16 +0000 (12:50 +0100)
committerPaul Burton <paul.burton@mips.com>
Tue, 9 Oct 2018 17:31:03 +0000 (10:31 -0700)
commit68dec269ee29c3abfd09596fbee7e40d875a6ab3
treeaeabc6974c4bbfb69613fe05d5d44889271a9bbe
parent2f7619ae90bf78cf576b5e72087aab0435266fdb
MIPS: memset: Limit excessive `noreorder' assembly mode use

Rewrite to use the `reorder' assembly mode and remove manually scheduled
delay slots except where GAS cannot schedule a delay-slot instruction
due to a data dependency or a section switch (as is the case with the EX
macro).  No change in machine code produced.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
[paul.burton@mips.com:
  Fix conflict with commit 932afdeec18b ("MIPS: Add Kconfig variable for
  CPUs with unaligned load/store instructions")]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20834/
Cc: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/memset.S