Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fbd93e5 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Optimize clear_vms_ums macro



We can save two instruction when MSR_VMS and MSR_UMS
are setup in one instruction.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 36f60954
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -92,9 +92,7 @@
	.endm

	.macro	clear_vms_ums
	msrclr	r11, MSR_VMS
	nop
	msrclr	r11, MSR_UMS
	msrclr	r11, MSR_VMS | MSR_UMS
	nop
	.endm
#else