29.1.2 __builtin_bsc0 Built-in Function

Description

Set the non-zero bits present in the set mask from the coprocessor 0 register specified by rn (register number) and sel (register bank).

Prototype

unsigned int __builtin_bsc0(rn, sel, set);

Argument

rn : cp0 register number
sel : cp0 select (bank) number
set : 32-bit mask to set

Return Value

unsigned int: the original CP register value

Assembler Operator/ Machine Instruction

mfc0 t, cs
or d, s, t
mtc0 s, cd

Error Messages

None.