[all-commits] [llvm/llvm-project] c2f02e: Clang: Define macro _MIPS_SPFPSET

Brad Smith via All-commits all-commits at lists.llvm.org
Sat Oct 21 04:16:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2f02e3bd6a5b287a221ae9038e6727abc3e6652
      https://github.com/llvm/llvm-project/commit/c2f02e3bd6a5b287a221ae9038e6727abc3e6652
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-10-21 (Sat, 21 Oct 2023)

  Changed paths:
    M clang/lib/Basic/Targets/Mips.cpp
    M clang/lib/Basic/Targets/Mips.h
    M clang/test/Preprocessor/init-mips.c

  Log Message:
  -----------
  Clang: Define macro _MIPS_SPFPSET

GCC defines this macro for how many single-precision floating point registers
can be used.

If the -mno-odd-spreg option is given, it will be 16; if either -mno-odd-spreg
nor -modd-spreg are given, we set it to 16 for FPXX.

Reviewed By: theraven

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




More information about the All-commits mailing list