You copied the Doc URL to your clipboard.

SETPAN

Set Privileged Access Never writes a new value to PSTATE.PAN.

This instruction is available only in privileged mode and it is a NOP when executed in User mode.

It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .

A1
(Armv8.1)

313029282726252423222120191817161514131211109876543210
111100010001(0)(0)(0)(0)(0)(0)(0)(0)(0)(0)imm1(0)0000(0)(0)(0)(0)

A1

SETPAN{<q>} #<imm> // (Cannot be conditional)

if !HavePANExt() then UNDEFINED;
value = imm1;

T1
(Armv8.1)

1514131211109876543210
10110110000(1)imm1(0)(0)(0)

T1

SETPAN{<q>} #<imm> // (Not permitted in IT block)

if InITBlock() then UNPREDICTABLE;
if !HavePANExt() then UNDEFINED;
value = imm1;

Assembler Symbols

<q>

See Standard assembler syntax fields.

<imm>

Is the unsigned immediate 0 or 1, encoded in the "imm1" field.

Operation

EncodingSpecificOperations();
if PSTATE.EL != EL0 then
    PSTATE.PAN = value;
Was this page helpful? Yes No