Adding 16-bit Character Support in LLVM

30 views · Published 8 March 2018 · 37:18 · Indexed 14 November 2026

Channel: FOSDEM · 2018 · Science & Technology

Watch on YouTube

by Simon Cook

At: FOSDEM 2017

LLVM has a great track record for being able to target a large range ofprocessors, both large 32/64-bit devices and deeply embedded 8/16-bitprocessors. From most perspectives, from Clang through to code generation, thesize of most operations do not make much difference to the ease ofimplementation. However there are some assumptions that are baked deeply intothe compiler; one of which is the memory access width, more specifically thatit is addressible in 8-bit words. This however is not always the case, manyembedded DSPs can only access memory with 16-bit addressibility, and trying toteach LLVM about this proves to be a challenge.

In this talk, we will present our first explorations in this area, and shareour thoughts on how we can make LLVM more memory agnostic for all targets withnon-8-bit memory.


Room: K.3.201
Scheduled start: 2017-02-05 10:30:00

More from this channel