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: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Michal Simek 2010-06-22 13:51:50 +02:00
parent 36f6095419
commit 3fbd93e58e
1 changed files with 1 additions and 3 deletions

View File

@ -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