Thread #108599109
HomeIndexCatalogAll ThreadsNew ThreadReply
H
>but chud branch predictor, what if-
>it won't
+Showing all 54 replies.
>>
File: chuddy.png (275.9 KB)
275.9 KB
275.9 KB PNG
>the loop... has ended...
>>
best thread on 4chan right now and it's not even close
>>
i686 was a mistake
>>
Billions must Die
>>
>>108599744
Billions must execute instruction #23784
>>
you maybe have read about zen amp
>>
>>108599109
>turn out it does
THE NORTH BRIDGE HAS FALLEN BILLIONS MUST BUY BULLDOZER
>>
I will make you cache miss and refill your pipeline
>>
>>108599109
>context switch
Billion cycles must die
>>
The voltage has fallen, billions must shut down
>>
>s[i] == '\0'
>>
>>108599810
I miss my caches so much, bros
>>
>hey chud branch predictor, what is at this memory address I don't have access to?
>billions must read
>>
>the pipeline has fallen
>billions must flush
>>
File: spectre.png (136.4 KB)
136.4 KB
136.4 KB PNG
>but chud branch predictor, you're accessing memory at an address that's a function of privileged data without bound checking!
>If something happens, you'll load a specific byte to cache which the current thread can extract via a timing attack, inferring the contents of the privileged memory!
>>
kek
>>
>>108599109
The Linux kernel code is full of these
if (unlikely(ptr))
return 0;
>>
>>108599109
That's literally the ryzen platform.
There's a mini neural network chud that decides it
>>
>>108601534
Good self-modifying code doesn’t need a fucking branch predictor.
Do likewise, gents.
>>
>>108599109
nothing ever jumps forward
>>
mitigations=auto nosmt=force memtest=4
>>
>>108601550
>self modifying code
>*incessantly invalidates your instruction cache*
what do?
>>
>>108601622
What? just run as it is on the cache, it's roughly the same shit so it's no problem!
>>
mutts won, humans lost
>>
>>108601730
If you use self modifying code to skip branches, then I assume you mean removing branches from the machine code in memory, right?
The problem is that this invalidates the instruction cache line for the branch, which will cause a far worse stall than a mispredicted branch.
If you determine at runtime that your code always or never takes a branch, then it's probably marginally better to pay the stall penalty once, rather than use up space in the branch predictor.
If your branch is sometimes taken, then it's basically never worth it to modify the instruction on that condition. The branch predictor will essentially do that for you in a much faster way.
>>
>>108601897
I wasnt making a that smart post, just a "stupid CPU execute old version of code" deal that fucks with everything.
>>
>>108601622
You backpatch at least 64 bytes behind if you’re worried about your precious cache line.
> my code fits in a cache line
Good, but unroll the first iteration of it. The first iteration patches the next before the prefetch, and the subsequent iteration(s) patch the first or previous unrolled iteration.
>>
>>108600155
Just finished modding some extra L1 onto my rig, taking my girl out to celebrate. Now my shit is SO cache
>>
Where is the optimistic predictor that does a IT'S HAPPENING every time
>>
>>108604460
>The Altman module
>>
>>108606171
kek
>>
>>108599109
>Branch predictor chad trying to create certainty in an uncertain future, succeeding 99% of the time
>>
>>108599810
The pipeline has stalled...
>>
>>108608859
>0xA: IRQL_not_less_or_equal
>>
>>108599109
Incel Chud Ultra 1488K
>>
>>108602115
Lol
>>
good thread
>>
>>108602115
kek. this thread is gold thanks OP
>>
>>108607644
He just has great pattern recognition.
>>
>>108602115
Your girl is a pornstar
>>
File: IMG_0620.jpg (40.5 KB)
40.5 KB
40.5 KB JPG
>>108607644
Cache is getting warm bros
>>
>>108599109
i laugh every time i see this
>>
>>108599109
kek good thread
>>
>>108599109
Keyed.
>>
open the port. now.
>>
>>108599109
op from original thread here. nice to see that this joke is still funny to some people
>>
>>108599603
on god we don't care about this boomer type of humor unc
>>
File: chud time.jpg (244.4 KB)
244.4 KB
244.4 KB JPG
BILLIONS of instructions must execute.

Per second.

Total Instruction Execution
>>
>>108616251
go back to moping about the zoomettes drunk on unc cock, zoomer
>>
File: giga_chad.jpg (58.9 KB)
58.9 KB
58.9 KB JPG
Megabytes?
>>
>>108599109
0x90 ever happens
>>
kek
>>
>>108599810
I would like you to refill MY pipeline :3
>>
>>108609724
Intel, it runs at 6 million hertz you say...

Reply to Thread #108599109


Supported: JPG, PNG, GIF, WebP, WebM, MP4, MP3 (max 4MB)