~/talk

8-bit Character support on architectures were the smallest addressable unit size is 64-bit in Clang and LLVM

Talkat FOSDEM 2022 · on Saturday, 2022-02-05· at 15:00· D.llvm· [compilers-and-language-design]

Describes making Clang/LLVM emit and handle 8-bit characters on architectures whose smallest addressable unit is 64 bits by changing only character alignment handling rather than CHAR_BIT or CharWidth. Shows a patch approach touching about eight files to represent string literals as arrays of i64 with 64-bit alignment (e.g. [6 x i64] with i64 element values), explains that the method can generalize to 16- or 32-bit minimal addressable units and to wchar with minimal changes, and positions this as a simpler alternative to large, invasive changes proposed previously.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.