Byte-swapping

Byte-swapping Mux

gate count for 4:1 MUX is estimated at 8 gates. 8x 64 gates for a total of 512 gates to provide aligned byteswapping 64 bit. (actually likely 5x64 for MUX part and 2x8 for selection part)

Byte-swap mux diagram

Byte-swapping Pipe

per source and dest operand, 512 gates required. if two source operands (ALU pipeline, Logical pipeline) this totals 1600 gates (per Function Unit). 3 operands (madd) is 2000 gates. for an estimated 50 Function Units this totals around 100,000 gates.

Byte-swap pipe diagram