![]() |
![]() |
#21 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 872
|
Too bad, but such is life. Gotta go by the numbers even if they don't fit with your mental model of what should be fast. Did you try inline asm'ing the new innerloops?
And just for funsies, here's a quick attempt for branch-free clamping code (just the standard min/max stuff with constants, not micro optimzed): Code:
; d0: in/out moveq.l #31,d3 moveq.l #127,d1 sub.l d1,d0 move.l d0,d2 asr.l d3,d2 and.l d2,d0 add.l d1,d0 moveq.l #-128,d1 sub.l d0,d1 move.l d1,d2 asr.l d3,d2 and.l d2,d1 moveq.l #-128,d0 sub.l d1,d0 |
![]() |
![]() |
#22 |
old chunk of coal
![]() Join Date: Nov 2011
Location: Hungary
Posts: 1,194
|
This is something I intend to try later. The mixers don't have any other branching except for the clipping, so it could help a bit.
edit: I haven't tried inline asm for the drawing yet, since switching to vlineasm1 had such a significant performance hit. Last edited by BSzili; 12 December 2022 at 19:13. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Voodoo.card 4.32 what improvements? | Bamiga2002 | support.Apps | 4 | 17 July 2014 03:03 |
Improvements on portability | Dreamcast270mhz | request.UAE Wishlist | 11 | 11 February 2010 16:20 |
drawing tablet improvements | pbareges | request.UAE Wishlist | 2 | 10 April 2009 14:06 |
AVIOutput improvements | Toni Wilen | support.WinUAE | 0 | 20 February 2008 12:02 |
OS 3.9 GUI Improvements | redneon | Amiga scene | 11 | 17 February 2005 08:56 |
|
|