<mjg>
the best case scenario is not having the branch to begin with
itrsea has quit [Remote host closed the connection]
itrsea has joined #osdev
leoh has quit [Ping timeout: 276 seconds]
leoh has joined #osdev
<Ameisen>
https://pastebin.com/raw/MJWaJCPP - I'm guessing that there is no effective difference between these then, excepting that the latter has an additional jump.
<Ameisen>
the second follows their logic a bit more closely, though
<Ameisen>
the conditional branches are the ones expected to not be taken there.
Left_Turn has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
PapaFrog has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
PapaFrog has joined #osdev
itrsea has quit [Quit: leaving]
leoh has quit [Ping timeout: 260 seconds]
rorx has quit [Quit: "Quitting.."]
<Ameisen>
though I am confused by the standard's working about misaligned addresses: "Release 6 allows hardware to provide address misalignment support in lieu of requiring natural alignment"
<Ameisen>
Does that mean that it potentially allows misaligned accesses, or that it potentially allows implementations to correct misaligned address alignment?
<Ameisen>
The note is "The pseudocode is not completely adapted for Release 6 misalignment support as the handling is implementation dependent."
<Ameisen>
so... that suggests to me that it is, well, implementation-defined what happens with a misaligned address... which seems weird to me.
karenw has joined #osdev
<Mutabah>
zid: Hadn't done the handover from BIOS, maybe that's why it locks up like that. Hacked it up, but didn't get a chance to test
TkTech1 has joined #osdev
<zid>
Mutabah: That will 100% cause lockups
TkTech has quit [Ping timeout: 240 seconds]
TkTech1 is now known as TkTech
<Mutabah>
Fix that, and maybe the IOAPIC issues are just something funky with the UART... but... the PS2 controller doens't seem to be able to raise interrupts either
<Mutabah>
(well, "controller" - I assume there's USB emulation when the xhci driver isn't up)
leoh has joined #osdev
leoh has quit [Client Quit]
rorx has joined #osdev
agent314 has joined #osdev
agent314 has quit [Max SendQ exceeded]
agent314 has joined #osdev
jcea has joined #osdev
<zid>
fixitfixitfixit
karenw has quit [Quit: Deep into that darkness peering...]
sven- has quit [Quit: My battery died :(]
jcea has quit [Ping timeout: 248 seconds]
_whitelogger has joined #osdev
<zid>
oh ntsync is merged
<zid>
and wine uses it
<zid>
nice
goliath has joined #osdev
<Ermine>
6.16 \o/
bauen1 has quit [Ping timeout: 252 seconds]
agent314 has quit [Ping timeout: 244 seconds]
agent314 has joined #osdev
PapaFrog has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
PapaFrog has joined #osdev
Lucretia has joined #osdev
Teukka has quit [Read error: Connection reset by peer]
<heat>
ronaldo followed by kid brainrot and jesus kid brainrot
<heat>
what a combo
vdamewood has quit [Ping timeout: 248 seconds]
j`ey has quit [Server closed connection]
j`ey has joined #osdev
<nikolar>
heat: forgor about Ronaldo
<nikolar>
smh
<nikolar>
s/://
<bslsk05>
<nikolar*> heat forgor about Ronaldo
<heat>
s/nikolar/zid/b
<heat>
damn it doesn't work
<nikolar>
lol
Left_Turn has joined #osdev
<heat>
s/lol/heat is the best/n
<bslsk05>
<nikolar*> heat is the best
<heat>
woah! we keep agreeing
<heat>
nuts!
<nikolar>
s/heat is the best/no/
<bslsk05>
<nikolar**> no
pebble has joined #osdev
<heat>
s/no/yes/
<bslsk05>
<heat*> honestly i have yes idea
<heat>
what
<heat>
well i agree
<heat>
i have yes idea
<sortie>
https://paste.ahti.space/fc8485.html ← libusan, hard mode, for true debuggers. Replace the system libubsan.so with this on your friend's computer
<bslsk05>
paste.ahti.space <no title>
<heat>
srand(now.tv_nsec + now.tv_sec); // No arc4random in musl is UB.. much shame
<heat>
what
ghostbuster has quit [Server closed connection]
<sortie>
I originally wrote this with arc4random instead of rand and then last minute changed it when I realized it didn't work on musl
ghostbuster has joined #osdev
<heat>
glibc getrandom should have similarly good performance