iLLD_TC27xD  1.0
Insert Single Assembly Instruction
Collaboration diagram for Insert Single Assembly Instruction:

Functions

void __debug (void) __attribute__((intrinsic_function(0x103
 
void __dsync (void) __attribute__((intrinsic_function(0x103
 
void __isync (void) __attribute__((intrinsic_function(0x103
 
asm volatile void __ldmst (volatile void *address, uint32 mask, uint32 value)
 
void __nop (void) __attribute__((intrinsic_function(0x103
 
asm volatile void __nops (void *cnt)
 
asm volatile void __nops1000 (uint32 x)
 
void __rslcx (void) __attribute__((intrinsic_function(0x103
 
void __svlcx (void) __attribute__((intrinsic_function(0x103
 
asm volatile uint32 __swap (void *place, uint32 value)
 
asm volatile unsigned int __cmpAndSwap (unsigned int *address, unsigned long value, unsigned long CmpVal)
 

Variables

void debug
 
void dsync
 
void isync
 
void nop
 
void rslcx
 
void svlcx
 

Detailed Description

The next table provides an overview of the intrinsic functions that you can use to insert a single assembly instruction.You can also use inline assembly but these intrinsics provide a shorthand for frequently used assembly instructions.

Function Documentation

asm volatile unsigned int __cmpAndSwap ( unsigned int *  address,
unsigned long  value,
unsigned long  CmpVal 
)

Definition at line 1295 of file IfxCpu_IntrinsicsDcc.h.

asm volatile void __ldmst ( volatile void *  address,
uint32  mask,
uint32  value 
)

Insert LDMST instruction. Note that all operands must be word-aligned.

Definition at line 1228 of file IfxCpu_IntrinsicsDcc.h.

asm volatile void __nops ( void *  cnt)

Insert a loop over n NOP instruction

Definition at line 1245 of file IfxCpu_IntrinsicsDcc.h.

asm volatile void __nops1000 ( uint32  x)

Insert a loop over n times 1000 NOP instruction

Definition at line 1257 of file IfxCpu_IntrinsicsDcc.h.

void __rslcx ( void  )

Insert RSLCX instruction

void __svlcx ( void  )

Insert SVLCX instruction

asm volatile uint32 __swap ( void *  place,
uint32  value 
)

Insert SWAP instruction. Note that all operands must be word-aligned.

Definition at line 1285 of file IfxCpu_IntrinsicsDcc.h.

Referenced by __cmpAndSwap().

Variable Documentation

void debug

Definition at line 1213 of file IfxCpu_IntrinsicsDcc.h.

void dsync

Definition at line 1217 of file IfxCpu_IntrinsicsDcc.h.

void isync

Definition at line 1221 of file IfxCpu_IntrinsicsDcc.h.

void nop

Definition at line 1241 of file IfxCpu_IntrinsicsDcc.h.

Referenced by __nops1000().

void rslcx

Definition at line 1274 of file IfxCpu_IntrinsicsDcc.h.

void svlcx

Definition at line 1278 of file IfxCpu_IntrinsicsDcc.h.