CLA中的汇编与C28X汇编有什么区别? 都是差不多?
Jones Chen:
Same instruction format as the C28x and C28x+FPU Destination operand is always on the left
Fixed Point: MPY ACC, T, loc16
Floating Point: MPYF32 R0H, R1H, R2H
CLA: MMPYF32 MR0, MR1, MR2
Type
Example
Cycles
Load (Conditional)
MMOV32 MRa,mem32{,CONDF}
1
Store
MMOV32 mem32,MRa
1
Load With Data Move
MMOVD32 MRa,mem32
1
Store/Load MSTF
MMOV32 MSTF,mem32
1
Compare, Min, Max
MCMPF32 MRa,MRb
1
Absolute, Negative Value
MABSF32 MRa,MRb
1
Unsigned Integer To Float
MUI16TOF32 MRa,mem16
1
Integer To Float
MI32TOF32 MRa,mem32
1
Float To Integer & Round
MF32TOI16R MRa,MRb
1
Float To Integer
MF32TOI32 MRa,MRb
1
Multiply, Add, Subtract
MMPYF32 MRa,MRb,MRc
1
1/X (16-bit Accurate)
MEINVF32 MRa,MRb
1
1/Sqrt(x) (16-bit Accurate)
MEISQRTF32 MRa,MRb
1