#
✕ nick:awordnot
#asahi · 2021-01-15 19:26
awordnotLazily evaluating some EFLAGs is one of the more complex parts of my codegen
#asahi · 2021-01-15 19:25
awordnotI see they also went the route of just stealing x86's flags :P
#asahi · 2021-01-15 19:22
awordnotand yeah, targeting register-starved ISAs would make an allocator like this really useful
#asahi · 2021-01-15 19:22
awordnotheh, interesting
#asahi · 2021-01-15 19:17
awordnotand the rest I just "allocate" sequentially for scratch operations
#asahi · 2021-01-15 19:17
awordnotinteresting. For ppc64le I'm getting away with basically no register allocator since I just map x86_64's few registers statically to some of ppc64le's
#asahi · 2021-01-15 19:13
awordnotfor my first backend targeting ppc64le I wrote the assembler and codegen from scratch and it wasn't that bad
#asahi · 2021-01-15 19:13
awordnotdavidrysk[m]: I have not seen this before - is it essentially just a macro assembler library?
#asahi · 2021-01-15 19:12
awordnotcool, I'll give it a read
#asahi · 2021-01-15 19:11
awordnotjn__: is this what you're referring to? http://www.mcst.ru/doc/syrcose11_submission_16.pdf
#asahi · 2021-01-15 19:09
awordnotjn__: I don't believe I've seen that one (though I have seen papers from Loongson and HQEMU on the same topic)
#asahi · 2021-01-15 19:07
awordnotdavidrysk[m]: I'm working on a new FOSS high performance dynamic recompiler for linux userspace binaries, but it's still in very early stages (and the aarch64 backend hasn't been started yet :P)
#asahi · 2021-01-10 19:57
awordnotoh, I see, it's enforced by the coprocessor. I thought you might be able to patch the normal macOS kernel to disable the restrictions but I guess not
#asahi · 2021-01-10 19:54
awordnotwhat mechanism is used to allow things like csrutil to work in 1TR but not normal macOS? Is it just an arbitrary restriction in the kernel that blocks interfaces if it doesn't detect that it was booted in recovery?
#asahi · 2021-01-07 20:28
awordnotTheJollyRoger: oh hi JR :)
#asahi · 2021-01-07 20:19
awordnotdavidrysk[m]: yeah I'm not sure how far it'll get you with the latest dyld. I was researching this recently and this was the most up-to-date tool I could find
#asahi · 2021-01-07 20:12
awordnotdavidrysk[m]: https://github.com/antons/dyld-shared-cache-big-sur along with the PR that enables arm64 support