Load Sign Extended Longword Locked (ldl_l)

Syntax

ldl_l $d_reg, address

Description

Load Sign Extended Longword Locked loads the four least significant bytes of the destination register with the contents of the longword specified by the effective address. Because the loaded longword is a signed value, its sign bit is replicated to fill the other bytes in the destination register.

If the effective address is not evenly divisible by 4, a data alignment exception is signaled.

If an ldl_l instruction executes without faulting, the processor records the target physical address in a per-processor locked-physical-address register and sets the per-processor lock flag.

If the per-processor lock flag is still set when a Store Longword Conditional (stl_c) instruction is executed, the store occurs; otherwise, it does not occur.

See Also

Atomic Updates