PSTATE_AM
#define TSTATE_AM (PSTATE_AM << TSTATE_PSTATE_SHIFT)
(((PSTATE_IE | PSTATE_PEF | PSTATE_AM) << TSTATE_PSTATE_SHIFT) | \
andn %o3, PSTATE_IE | PSTATE_AM, %o4
andn %o2, PSTATE_IE | PSTATE_AM, %o3
andn %o2, PSTATE_IE | PSTATE_AM, %o3
andn %o4, PSTATE_IE | PSTATE_AM, %o5
andn %o4, PSTATE_IE | PSTATE_AM, %o5
andn %o4, PSTATE_IE | PSTATE_AM, %o1
andn %o4, PSTATE_IE | PSTATE_AM, %g3 ! clear IE, AM bits
andcc scr1, PSTATE_IE | PSTATE_AM, scr1; \
andn scr4, PSTATE_IE | PSTATE_AM, scr3; \
andcc scr1, PSTATE_IE | PSTATE_AM, scr1; \
andn scr4, PSTATE_IE | PSTATE_AM, scr3; \