#
#asahi · 2023-07-30 10:50
j`ey:)
#asahi · 2023-07-30 10:50
marcandunno, "a lot better than without TSO" :p
#asahi · 2023-07-30 10:50
j`eydo you know if any bencharks were done with fex+tso?
#asahi · 2023-07-30 10:49
marcanbut we do have hardware TSO so that is moot
#asahi · 2023-07-30 10:48
marcanstuff gets a lot more complicated without hardware TSO support, e.g. the Windows emulation stuff does a lot of tricks there to try to fake some of it for performance
#asahi · 2023-07-30 10:47
marcanas with everything, there will be things one technology is better at and others it is worse at
#asahi · 2023-07-30 10:47
shalokshalomOn the Apple silicon
#asahi · 2023-07-30 10:47
marcanI'm saying FEX is already better than Rosetta at some things
#asahi · 2023-07-30 10:47
shalokshalomIs there dedicated hardware, to accelerate these operations?
#asahi · 2023-07-30 10:47
shalokshalommarcan: So you are saying other x86 emulation layers can be comparable speedy and comparably speedy CPUs?
#asahi · 2023-07-30 10:46
marcanFEX is already much faster for emulating 32-bit x86 because it has a mode to not bother with accurate 80-bit FPU emulation, while Rosetta does some horrible slow software emulation which makes many 32-bit games unplayable
#asahi · 2023-07-30 10:46
ChaosPrincessbecause if you dont have that - you either have to pray that the software is page size agnostic, or emulate the entire mmu which murders your performance
#asahi · 2023-07-30 10:46
shalokshalomOh, and it's not even open source (Cassia)
#asahi · 2023-07-30 10:46
marcanalso Rosetta isn't particularly fast or efficient, it's just AoT and well tuned for these CPUs. it's the CPUs that are fast, and not dealing with TSO helps.
#asahi · 2023-07-30 10:46
ChaosPrincessalmost all of them would want 4k pages for it to work sanely
#asahi · 2023-07-30 10:45
shalokshalomIt even seems to be Windows exclusive?
#asahi · 2023-07-30 10:45
shalokshalomThere is a new x86 emu software layer on the block, although idk how much it will help
#asahi · 2023-07-30 10:45
marcanTSO matters
#asahi · 2023-07-30 10:45
marcanit's unclear whether we care to support the latter two, we'll see
#asahi · 2023-07-30 10:45
marcanTSO, the flags stuff, and a pre-standard version of what ARM standardized as AFP
#asahi · 2023-07-30 10:45
marcanthere is no "accelerated emulation". there are three (to our knowledge), very specific, minor but useful features
#asahi · 2023-07-30 10:45
ChaosPrincessbox86 or whatever it is called will never work, because it requires 32 bit arm and m-chips dont do that
#asahi · 2023-07-30 10:45
shalokshalomSo the foundation is there and the rest unknown. :)
#asahi · 2023-07-30 10:44
shalokshalomAh, ok, cool.
#asahi · 2023-07-30 10:44
shalokshalomSo none as of yet, and unknown as for when, if at all, correct?
#asahi · 2023-07-30 10:44
marcanshalokshalom: we already support TSO and that feature is integrated into FEX, which is the single most important feature for x86 performance
#asahi · 2023-07-30 10:44
shalokshalomthanks a lot
#asahi · 2023-07-30 10:44
ChaosPrincesstso is in repo, 4k pages is not ready for public use yet
#asahi · 2023-07-30 10:44
ChaosPrincessfor fex, you need 4k pages for it to even work, and TSO for it to work faster.
#asahi · 2023-07-30 10:43
ChaosPrincessqemu-system-x64 or whatever it is called exists, but its most likely not what you want :P
#asahi · 2023-07-30 10:43
svenhttps://en.m.wikipedia.org/wiki/Memory_ordering
#asahi · 2023-07-30 10:43
stinteloops
#asahi · 2023-07-30 10:43
jannauthere is no roadmap
#asahi · 2023-07-30 10:43
stintel
#asahi · 2023-07-30 10:43
mpss/first time/two years ago/
#asahi · 2023-07-30 10:42
shalokshalomWhat is the exact state of running x86 on Asahi, and also about the roadmap for it, please?
#asahi · 2023-07-30 10:42
shalokshalomsven: I am not aware about stores within that context.
#asahi · 2023-07-30 10:42
mpsfirst time I created tarball of firmware from macos
#asahi · 2023-07-30 10:42
stintelthanks!
#asahi · 2023-07-30 10:42
jannaustintel: asahi_firmware in asahi-installer
#asahi · 2023-07-30 10:42
sventhere’s code to do that in the installer and that’s probably the only documentation there is
#asahi · 2023-07-30 10:41
stintelis there any documentation on extracting the various firmwares from macOS? like apple/tpmtfw-j415.bin brcmbt4387c2-apple,snake-u.bin etc ?
#asahi · 2023-07-30 10:40
jannauleio: take the absence as a hint that it's (not yet) supported
#asahi · 2023-07-30 10:40
svenother than that it’s also a lot of software engineering that went into Rosetta
#asahi · 2023-07-30 10:39
sventhey have a way to enable TSO (total store ordering) to make stores work like they do on x86
#asahi · 2023-07-30 10:38
shalokshalomThanks a lot
#asahi · 2023-07-30 10:38
shalokshalomCan we expect any kind of support for x86 hardware accelerated emulation?
#asahi · 2023-07-30 10:38
shalokshalomNow, I am asking: Are there any plans, to utilize that hardware? Does it even exist, or was this a false rumor?
#asahi · 2023-07-30 10:38
leioto correct myself, it is in the first table, but not the separate ones
#asahi · 2023-07-30 10:37
shalokshalomHi there. Early rumors of the M1 platform suggested, that Apple is using dedicated hardware, to improve performance of the x86_64 compatibility layer, Rosetta 2.

plus ›