View Single Post
Old 11 May 2017, 12:05   #152
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
As this thread is for generic 68000 optimizations, here is another.
(Actually this one is valid for just about any cpu )

You can replace :
Code:
 not.w d0
 and.w d0,d1
 not.w d0
By :
Code:
 or.w d0,d1
 eor.w d0,d1
(Makes "bit clear" / "and not" instruction proposals a lot less sexy doesn't it ?)
meynaf is offline  
 
Page generated in 0.08683 seconds with 11 queries