EXAPUNKS

EXAPUNKS

View Stats:
help cycle optimizing berkeley
uc berkeley (eecs department)

I managed to get to 116 cycles, but apparently 68 is possible. I cannot possibly see how! I have difficulties shaving ONE cycle from that, but almost half?! There must be some trick that I've missed completely, please help.
< >
Showing 1-5 of 5 comments
copying directly to M causes delays because of the extra cycle you have to wait for the value to get picked up, and loop logic costs you cycles. if you minimise those in your file reading exa that'll probably take you most of the way to 68. my solution was 95 cycles with a little loop unrolling but theres definitely room for improvement there.

but also that 68 sounds like a top ranking solution, so you shouldnt assume reaching it or beating it would be easy at all
My read/writes seems in sync, so I shouldn't be losing anything there even if I read directly to M. Also, I HAVE to read to M - what other option is there to get the data across?? I might try some loop unrolling, but I doubt that's going to help that much.
reading to x/t and replicating
Originally posted by YAKKingpun:
reading to x/t and replicating
Not for the data transfer itself, surely? For the entries in file 300 I'm already doing that.

I was wrong about the unrolling, it made quite a difference - I managed to get down to 89.
To bring it further down I would have to do magic...

I'm not sure if my sources are reliable. I found a webpage that lists the best solutions, but now I've lost it. The game shows something called TOP_PERCENTILE, but doesn't show what the best result is...
yes, for the data transfer itself. copy t/copy x/repl is 3 cycles, vs copy m copy m being 4

and i dont know where you found your 68 cycles, but it sounds similar to the 69 cycles for the fastest solution submitted to the exapunks reddit score list
< >
Showing 1-5 of 5 comments
Per page: 1530 50