Thread View: comp.sys.transputer
2 messages
2 total messages
Started by Moshe Braner
Tue, 20 Feb 1990 20:20
move2d on t800
Author: Moshe Braner
Date: Tue, 20 Feb 1990 20:20
Date: Tue, 20 Feb 1990 20:20
5 lines
625 bytes
625 bytes
It dawned on me all of a sudden that the t800 move2d instruction could be used for vector math scatter/gather. Is that true? How fast is it in that role, and as compared with simple pure C code? Thanks. - Moshe
Re: move2d on t800
Author: Colin Plumb
Date: Tue, 06 Mar 1990 23:22
Date: Tue, 06 Mar 1990 23:22
18 lines
1314 bytes
1314 bytes
In article <9002202020.AA25105@tcgould.TN.CORNELL.EDU> braner@TCGOULD.TN.CORNELL.EDU (Moshe Braner) writes: >It dawned on me all of a sudden that the t800 move2d instruction >could be used for vector math scatter/gather. Is that true? >How fast is it in that role, and as compared with simple pure C >code? Thanks. Well, it can be used for scatter/gather. I once had an application for it filling memory from a byte-wide I/O port. Yeah, thought I, just use a line length of 1 byte, a source stride of 0, and a destination stride of 1. Unfortunately, move2d has a per-line overhead of 23 cycles. This was slower than a software loop. Ick. Within the lines, it saturates the bus, just like move. But if your vector length is long or run-time variable and you don't want to do the compile-custom-bitblt-code trick, I'd think it would work well. -- -Colin
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads