Displaying 1 result from an estimated 1 matches for "bitstruct".
Did you mean:
bigstruct
2018 Jun 01
1
endianness and bit fields in struct{}
...s widely used in most
embedded software
(and some MCU and FPGA-synthesized cores have bit field operations in
hardware).
As an example, generated IR uses in-compiled and/or bitmasking should be
replaced with special bit-fields operations with ui3, si7 arbitrary length
integers.
; ModuleID = 'bitstruct.c'
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.anon = type <{ i8, i16, float, i16, i8 }>
@Packet = common global %struct.anon zeroinitializer, align 1
; Function Attrs: nounwind uwtable
define void @encod...