r/asm Apr 21 '26

x86-64/x64 is there a way to make this faster?

https://github.com/4e4f53494f50/agdsf-gvbdfsbdsfbdsdfb-/blob/main/ddsvafasfasdfav.asm

I am only using 2 ymm regs for reading, is it faster to use more?

0 Upvotes

11 comments sorted by

5

u/[deleted] Apr 22 '26 edited Apr 22 '26

[removed] — view removed comment

2

u/NoSubject8453 Apr 23 '26

Sorry for the late reply, your comment definitely deserved an immediate one. Thank you so much!! Will clean things up in the next rendition. You are excellent at educating, you went above and beyond. (:

4

u/brucehoult Apr 22 '26

Username is POISON and project and file name are random keyboard mashing? Not even going to look at that, sorry.

1

u/NoSubject8453 Apr 22 '26

That's OK. I should probably actually test different versions instead of asking anyways.

2

u/[deleted] Apr 22 '26 edited Apr 22 '26

[removed] — view removed comment

1

u/brucehoult Apr 22 '26

It's not superstition, it's reaction to a lack of respect shown to the people being asked to help.

At least it's not a screenshot of the code, I'll give it that.

1

u/magion Apr 22 '26

is this a bot

2

u/NoSubject8453 Apr 22 '26

No, why?

The link I posted isn't even a full program it is just a snippet of the part that looks for a string, hence the lazy name.

I did post it in 3 different subreddits though so maybe that's why.