View Single Post
Old 05 June 2021, 18:33   #200
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,209
I saw that in Supercars 2

Code:
		move.l	a0,(a4)+	;mask
		move.l	a1,(a4)+	;data0
		move.l	a2,(a4)+	;scn0
wouldn't it be faster to use

Code:
   movem.l a0-a2,(a4)+
(and would it be equivalent) ? Maybe there's a threshold where movem is faster. Is it 2, 3, or more registers?
jotd is offline  
 
Page generated in 0.04447 seconds with 11 queries