[Libre-soc-bugs] [Bug 1229] fosdem2024 llvm simple-v

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Dec 3 02:33:05 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1229

--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
some points:
the register keyword won't be going away completely since the register keyword
has a non-deprecated use around inline assembly (this isn't part of the C or
C++ standards, this is a GCC extension that Clang also implements):
// tells the compiler to put a in r3 (clang does this only for
// inline assembly so a could be stored elsewhere outside of
// any inline assembly blocks, gcc does more than that, idk
// how much)
register long a asm("r3");
asm("addi r3, r3, 1" : "+r"(a));  // increments a

for LLVM IR, we will be having standard existing vector IR translate to SimpleV
ops in the backend, not something like having only SimpleV prefixed IR and
never any vector ops or something like that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list