[all-commits] [llvm/llvm-project] 418c1d: [MIPS] Reland Add FeatureMSA to i6400 and i6500 co...

Mallikarjuna Gouda via All-commits all-commits at lists.llvm.org
Fri May 30 19:33:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 418c1d8a44c4e0188448713a86825a798d460fcb
      https://github.com/llvm/llvm-project/commit/418c1d8a44c4e0188448713a86825a798d460fcb
  Author: Mallikarjuna Gouda <mgouda at mips.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/Mips.cpp
    A clang/test/Driver/mips-cpus.c
    M llvm/lib/Target/Mips/Mips.td
    M llvm/lib/Target/Mips/MipsSubtarget.h
    M llvm/test/CodeGen/Mips/msa/arithmetic.ll

  Log Message:
  -----------
  [MIPS] Reland Add FeatureMSA to i6400 and i6500 cores (#134985) (#141730)

Note: This relands #134985 with a fix. Original PR resulted in test fail
for msan builds.
Fix: Initialize MipsSubtarget::ProcImpl to ProcImpl::CPU::Others


[MIPS] Reland Add FeatureMSA to i6400 and i6500 cores (#134985)

- Enable 'FeatureMSA' for MIPS i6400 and i6500 cpu.
- Enable -mmsa option if mcpu is set to either i6400 or i6500
- added clang driver test to validate msa feature
- added llvm codegen test to validate msa instructions for cpu i6500 and
i6400

MIPS i6400 and i6500 cores implements and enables MSA (MIPS SIMD
ARCHITECTURE) by default.



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