[all-commits] [llvm/llvm-project] 697dd9: [SPARC] Implement L and H inline asm argument modi...

Koakuma via All-commits all-commits at lists.llvm.org
Thu Apr 4 14:34:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 697dd93ae30f489e5bcdac74c2ef2d876e3ca064
      https://github.com/llvm/llvm-project/commit/697dd93ae30f489e5bcdac74c2ef2d876e3ca064
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
    M llvm/test/CodeGen/SPARC/inlineasm-bad.ll
    M llvm/test/CodeGen/SPARC/inlineasm.ll

  Log Message:
  -----------
  [SPARC] Implement L and H inline asm argument modifiers (#87259)

This adds support for using the L and H argument modifiers for twinword
operands in inline asm code, such as in:

```
%1 = tail call i64 asm sideeffect "rd %pc, ${0:L} ; srlx ${0:L}, 32, ${0:H}", "={o4}"()
```

This is needed by the Linux kernel.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list