[all-commits] [llvm/llvm-project] d0a32b: [doc][LoongArch] Add missed release note about `ua...

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Sun Jun 25 19:38:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0a32b0273b9e5d881417cc668e944e35e55c845
      https://github.com/llvm/llvm-project/commit/d0a32b0273b9e5d881417cc668e944e35e55c845
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [doc][LoongArch] Add missed release note about `ual` feature addition

I meant to fold this into 47601815ec3a4f31c797c75748af08acfabc46dc
but failed to do so.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D152671


  Commit: 9a8727df35da562a3bd18f7356647092f1059188
      https://github.com/llvm/llvm-project/commit/9a8727df35da562a3bd18f7356647092f1059188
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArch.td
    M llvm/test/MC/LoongArch/Basic/Float/d-arith.s
    M llvm/test/MC/LoongArch/Basic/Float/d-bound-check.s
    M llvm/test/MC/LoongArch/Basic/Float/d-branch.s
    M llvm/test/MC/LoongArch/Basic/Float/d-comp.s
    M llvm/test/MC/LoongArch/Basic/Float/d-conv.s
    M llvm/test/MC/LoongArch/Basic/Float/d-invalid.s
    M llvm/test/MC/LoongArch/Basic/Float/d-memory.s
    M llvm/test/MC/LoongArch/Basic/Float/d-move.s
    M llvm/test/MC/LoongArch/Basic/Float/f-arith.s
    M llvm/test/MC/LoongArch/Basic/Float/f-bound-check.s
    M llvm/test/MC/LoongArch/Basic/Float/f-branch.s
    M llvm/test/MC/LoongArch/Basic/Float/f-comp.s
    M llvm/test/MC/LoongArch/Basic/Float/f-conv.s
    R llvm/test/MC/LoongArch/Basic/Float/f-invalid.s
    M llvm/test/MC/LoongArch/Basic/Float/f-memory.s
    M llvm/test/MC/LoongArch/Basic/Float/f-move.s
    M llvm/test/MC/LoongArch/Basic/Integer/invalid.s

  Log Message:
  -----------
  [LoongArch] Remove AssemblerPredicate for features: f/d/lsx/lasx/lvz/lbt

Linux LoongArch port [1] uses `-msoft-float` (implies no FPU) in its
`cflags` while it also uses floating-point insns in asm sources [2].
GAS allows this usage while IAS currently does not.

This patch removes `AssemblerPredicate`s for floating-point insns so
that to make IAS compitable with GAS. Similarly, also remove
`AssemblerPredicate`s for other ISA extensions, i.e. lsx/las/lvz/lbt.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/loongarch/Makefile?h=v6.4-rc1#n49
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/loongarch/kernel/fpu.S?h=v6.4-rc1#n29

Reviewed By: xen0n, hev

Differential Revision: https://reviews.llvm.org/D150196


  Commit: 441afb3978ce3599b11615d1365a75e32b0fa47c
      https://github.com/llvm/llvm-project/commit/441afb3978ce3599b11615d1365a75e32b0fa47c
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
    M llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

  Log Message:
  -----------
  [llvm-objcopy] Add LoongArch support

Apart from general feature parity, this is also necessary for enabling
ClangBuiltLinux that defaults to using LLVM tools.

While at it, add a missing comment for the Hexagon definition directly
above, so it doesn't get confused with the SPARC definitions.

Reviewed By: SixWeining, MaskRay, jhenderson

Differential Revision: https://reviews.llvm.org/D153609


Compare: https://github.com/llvm/llvm-project/compare/0b6b400b98b9...441afb3978ce


More information about the All-commits mailing list