
A-176 SC140 DSP Core Reference Manual
IFc
IFc Conditionally Execute a Group or Su/jointfilesconvert/1233470/bgroup (PREFIX) IFc
Description
These instructions add conditional control over a group or su/jointfilesconvert/1233470/bgroup of instructions in a VLES.
Notes: 1. The instructions in the su/jointfilesconvert/1233470/bgroups can be conditional (e.g., TFRT, JF), which adds finer
control.
2. The “IFA group” is the same as not using IFc. That is, unconditional execution of the VLES.
3. The detailed use of IFc is defined by Section 7.2, “VLES Grouping Semantics,” and
programming rule G.P.7 in Section 7.5.3, “Prefix Grouping Rules.”
Operation Assembler Syntax
If T == 0, then execute group/su/jointfilesconvert/1233470/bgroup
else treat as NOP
IFF group or su/jointfilesconvert/1233470/bgroup of instructions
If T == 1, then execute group/su/jointfilesconvert/1233470/bgroup
else treat as NOP
IFT group or su/jointfilesconvert/1233470/bgroup of instructions
execute group/su/jointfilesconvert/1233470/bgroup unconditionally
IFA group or su/jointfilesconvert/1233470/bgroup of instructions
IFF
Execute the group or su/jointfilesconvert/1233470/bgroup if T is equal to zero (condition is false). If T is equal to one (condition is
true), the group or su/jointfilesconvert/1233470/bgroup is treated as a NOP. This instruction can be used in conjunction with IFT to
form an if/else clause.
IFT
Execute the group or su/jointfilesconvert/1233470/bgroup if T is equal to one (condition is true). If T is equal to zero (condition is
false), the group or su/jointfilesconvert/1233470/bgroup is treated as a NOP. This instruction can be used in conjunction with IFF to
form an if/else clause.
IFA
Always execute the group or su/jointfilesconvert/1233470/bgroup. This instruction may be used in conjunction with IFT or IFF to split
a VLES group into conditional and unconditional su/jointfilesconvert/1233470/bgroups, where IFA must be the last su/jointfilesconvert/1233470/bgroup in the
VLES.
The following combinations of these instructions can be used:
IFT group ; execute group if T is set
IFF group ; execute group if T is clear
IFA group ; execute group unconditionally
IFT su/jointfilesconvert/1233470/bgroup1 IFA su/jointfilesconvert/1233470/bgroup2 ; execute su/jointfilesconvert/1233470/bgroup1 if T is set,
; execute su/jointfilesconvert/1233470/bgroup2 unconditionally
IFF su/jointfilesconvert/1233470/bgroup1 IFA su/jointfilesconvert/1233470/bgroup2 ; execute su/jointfilesconvert/1233470/bgroup1 if T is clear,
; execute su/jointfilesconvert/1233470/bgroup2 unconditionally
IFT su/jointfilesconvert/1233470/bgroup1 IFF su/jointfilesconvert/1233470/bgroup2 ; execute su/jointfilesconvert/1233470/bgroup1 if T is set,
; execute su/jointfilesconvert/1233470/bgroup2 if T is clear
Comentarios a estos manuales