#
✕ nick:TellowKrinkle[m]
#asahi-re · 2022-04-04 12:40
TellowKrinkle[m]Whether that was to the detriment of the failure case I don't know
#asahi-re · 2022-04-04 12:40
TellowKrinkle[m]I remember seeing on the Swift forums that Apple CPUs have no performance penalty for uncontested atomic refcounting (which Swift used CAS for), so they definitely optimized the success case
#asahi-re · 2021-01-15 03:47
TellowKrinkle[m]I'm going to guess probably not, but not sure
#asahi-re · 2021-01-15 03:47
TellowKrinkle[m]For the instruction metadata, I think an equivalent question would be "if a GPU manufacturer included a JSON file in their gpu driver with a list of registers and instruction scheduling data, would it be okay to use that when developing your driver?"
#asahi-re · 2021-01-15 03:13
TellowKrinkle[m]Alright I posted it
#asahi-re · 2021-01-15 03:03
TellowKrinkle[m]I'm making a post on that issue right now
#asahi-re · 2021-01-15 03:02
TellowKrinkle[m]You do need to call the AGX2 target initialization functions, which are not part of the normal LLVM headers (since the public version has no AGX2 target)
#asahi-re · 2021-01-15 02:58
TellowKrinkle[m]Never mind looks like you don't need the symbol list, clang magically finds the dylib in the dyld cache, so we don't need the symbol list in the repo
#asahi-re · 2021-01-15 02:51
TellowKrinkle[m](By it I mean the asmcheck program, not llc)
#asahi-re · 2021-01-15 02:49
TellowKrinkle[m](It prints the associated instruction metadata from llvm tablegen)
#asahi-re · 2021-01-15 02:48
TellowKrinkle[m]If you just use the llc included as a means to assemble ir from an intel Mac I doubt it would be an issue
#asahi-re · 2021-01-15 02:48
TellowKrinkle[m]My biggest worry would be that it prints information from inside the dylib that isn't otherwise included in assembled object code
#asahi-re · 2021-01-15 02:46
TellowKrinkle[m]It does use the list of exported symbols extracted from their dylib though
#asahi-re · 2021-01-15 02:46
TellowKrinkle[m]It's linking against their dylib using the open source llvm headers
#asahi-re · 2021-01-15 02:44
TellowKrinkle[m]Don't think it's explicitly forbidden but it's also definitely not explicitly not-forbidden