Arithmetic Logic Unit (ALU)
2-22
ADSP-2126x SHARC Processor Hardware Reference
Table 2-5. Floating-Point ALU Instruction Summary
Instruction
ASTATx,y Status Flags
STKYx,y Status Flags
Floating-point:
AZ
AV
AN
AC
AS
AI
AF
CA
CC
AUS AVS
AOS
AIS
Fn = Fx + Fy
*
*
*
0
0
*
1
–
**
**
–
**
Fn = Fx – Fy
*
*
*
0
0
*
1
–
**
**
–
**
Fn = ABS (Fx + Fy)
*
*
0
0
0
*
1
–
**
**
–
**
Fn = ABS (Fx – Fy)
*
*
0
0
0
*
1
–
**
**
–
**
Fn = (Fx + Fy)/2
*
0
*
0
0
*
1
–
**
–
–
**
COMP(Fx, Fy)
*
0
*
0
0
*
1
*
–
–
–
**
Fn = –Fx
*
*
*
0
0
*
1
–
–
**
–
**
Fn = ABS Fx
*
*
0
0
*
*
1
–
–
**
–
**
Fn = PASS Fx
*
0
*
0
0
*
1
–
–
–
–
**
Fn = RND Fx
*
*
*
0
0
*
1
–
–
**
–
**
Fn = SCALB Fx BY Ry
*
*
*
0
0
*
1
–
**
**
–
**
Rn = MANT Fx
*
*
0
0
*
*
1
–
–
**
–
**
Rn = LOGB Fx
*
*
*
0
0
*
1
–
–
**
–
**
Rn = FIX Fx BY Ry
*
*
*
0
0
*
1
–
**
**
–
**
Rn = FIX Fx
*
*
*
0
0
*
1
–
**
**
–
**
Fn = FLOAT Rx BY Ry
*
*
*
0
0
0
1
–
**
**
–
–
Fn = FLOAT Rx
*
0
*
0
0
0
1
–
–
–
–
–
Fn = RECIPS Fx
*
*
*
0
0
*
1
–
**
**
–
**
Fn = RSQRTS Fx
*
*
*
0
0
*
1
–
–
**
–
**
Fn = Fx COPYSIGN Fy
*
0
*
0
0
*
1
–
–
–
–
**
Fn = MIN(Fx, Fy)
*
0
*
0
0
*
1
–
–
–
–
**
Fn = MAX(Fx, Fy)
*
0
*
0
0
*
1
–
–
–
–
**
Fn = CLIP Fx BY Fy
*
0
*
0
0
*
1
–
–
–
–
**
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...