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

Macros

#define NOP(n)   __asm(".rept " #n "\n\tnop\n\t.endr\n")
 

Functions

IFX_INLINE void __debug (void)
 
IFX_INLINE void __dsync (void)
 
IFX_INLINE void __isync (void)
 
IFX_INLINE void __ldmst (volatile void *address, uint32 mask, uint32 value)
 
IFX_INLINE void __nop (void)
 
IFX_INLINE void __nops (void *cnt)
 
IFX_INLINE void __rslcx (void)
 
IFX_INLINE void __svlcx (void)
 
IFX_INLINE uint32 __swap (void *place, uint32 value)
 

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.

Macro Definition Documentation

#define NOP (   n)    __asm(".rept " #n "\n\tnop\n\t.endr\n")

Insert n NOP instruction

Definition at line 1406 of file IfxCpu_IntrinsicsGnuc.h.

Function Documentation

IFX_INLINE void __debug ( void  )

Insert DEBUG instruction

Definition at line 1337 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __dsync ( void  )

Insert DSYNC instruction

Definition at line 1344 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __isync ( void  )

Insert ISYNC instruction

Definition at line 1351 of file IfxCpu_IntrinsicsGnuc.h.

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

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

Definition at line 1358 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __nop ( void  )

Insert NOP instruction

Definition at line 1367 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __nops ( void *  cnt)

Insert a loop over cnt NOP instruction

Definition at line 1374 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __rslcx ( void  )

Insert RSLCX instruction

Definition at line 1383 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __svlcx ( void  )

Insert SVLCX instruction

Definition at line 1390 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint32 __swap ( void *  place,
uint32  value 
)

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

Definition at line 1397 of file IfxCpu_IntrinsicsGnuc.h.