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

Koakuma via All-commits all-commits at lists.llvm.org
Wed Apr 10 15:22:25 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b6ebea7972cd05a8e4dcf0d5a54f2c793999995a
      https://github.com/llvm/llvm-project/commit/b6ebea7972cd05a8e4dcf0d5a54f2c793999995a
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-04-10 (Wed, 10 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.

(cherry picked from commit 697dd93ae30f489e5bcdac74c2ef2d876e3ca064)



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