DSP_blk_eswap64
4-83 C64x+ DSPLIB Reference
t2 = _x[i*8 + 5];
t3 = _x[i*8 + 4];
t4 = _x[i*8 + 3];
t5 = _x[i*8 + 2];
t6 = _x[i*8 + 1];
t7 = _x[i*8 + 0];
_r[i*8 + 0] = t0;
_r[i*8 + 1] = t1;
_r[i*8 + 2] = t2;
_r[i*8 + 3] = t3;
_r[i*8 + 4] = t4;
_r[i*8 + 5] = t5;
_r[i*8 + 6] = t6;
_r[i*8 + 7] = t7;
}
}
Special Requirements
-Input and output arrays do not overlap, except when “r == NULL” so that
the operation occurs in-place.
-The input array and output array are expected to be double-word aligned,
and a multiple of 2 double-words must be processed.
Implementation Notes
-Bank Conflicts: No bank conflicts occur.
-Interruptibility: The code is interrupt-tolerant but not interruptible.
Benchmarks Cycles nx/2 + 20
Codesize 116 bytes