search for: atomici16

Displaying 1 result from an estimated 1 matches for "atomici16".

2017 Aug 26
2
Unaligned atomic load/store
...atform, and all data is unaligned (or 8-bit aligned if you will). Here's a small piece of LLVM IR exhibiting this (emitted by the Rust compiler): target datalayout = "e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8" target triple = "avr-unknown-unknown" %"atomic::AtomicI16" = type { %"core::cell::UnsafeCell<i16>", [0 x i8] } %"core::cell::UnsafeCell<i16>" = type { i16, [0 x i8] } define void @foo(%"atomic::AtomicI16"*) { start: %_15 = alloca i16, align 1 %1 = getelementptr inbounds %"atomic::AtomicI16",...