mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 00:52:52 +00:00
c0fd64af03
as explainded at https://llvm.org/docs/LangRef.html#vector-type : "In general vector elements are laid out in memory in the same way as array types. Such an analogy works fine as long as the vector elements are byte sized. However, when the elements of the vector aren’t byte sized it gets a bit more complicated. One way to describe the layout is by describing what happens when a vector such as <N x iM> is bitcasted to an integer type with N*M bits, and then following the rules for storing such an integer to memory." "When <N*M> isn’t evenly divisible by the byte size the exact memory layout is unspecified (just like it is for an integral type of the same size)." |
||
---|---|---|
.. | ||
behavior | ||
c_abi | ||
cases | ||
link | ||
src | ||
standalone | ||
assemble_and_link.zig | ||
behavior.zig | ||
cases.zig | ||
cbe.zig | ||
compare_output.zig | ||
compile_errors.zig | ||
gen_h.zig | ||
link.zig | ||
llvm_targets.zig | ||
nvptx.zig | ||
run_translated_c.zig | ||
stack_traces.zig | ||
standalone.zig | ||
tests.zig | ||
translate_c.zig |