this post was submitted on 24 Jan 2026
8 points (90.0% liked)

Gaming

33596 readers
46 users here now

From video gaming to card games and stuff in between, if it's gaming you can probably discuss it here!

Please Note: Gaming memes are permitted to be posted on Meme Mondays, but will otherwise be removed in an effort to allow other discussions to take place.

See also Gaming's sister community Tabletop Gaming.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 4 years ago
MODERATORS
 

Hello my name is Daniel Hanrahan. Do you think my games should have optional calls to assembly functions for certain CPUs and GPUs in order to reach maximum possible performance and use parts/functions of the CPUs and GPUs that are not standard, but it's use for them would for tasks that is not perfect for the standard parts of CPUs and GPUs if possible, for example: instead of using the standard parts/functions of the z80 for the randomization you use the refresh register instead. Let me be clear my games have good performance.

Link to my games: https://daniel-hanrahan-tools-and-games.github.io/

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Mondez 8 points 3 days ago (1 children)

You need to profile your binaries to find out where they spend most of their cpu time and try and optimise those areas with more efficient code before you even consider micro optimisations like asm for specific cpus. Considerations like algorithm choice and cache efficiency of your data will all likely have a larger effect.

Thank you but I already made sure that my games was as efficient as possible and I was asking if I can make my games more performant by adding optional assembly functions to use non standard parts of the cpu and gpu to make sure that my games are at maximum performance, because linux does something similar.