[all-commits] [llvm/llvm-project] 243334: [builtins][ARM] Check __ARM_FP instead of __VFP_FP__.

Zhuojia (Chaos) Shen via All-commits all-commits at lists.llvm.org
Fri Dec 4 20:59:38 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24333481cb23389516d47ef08e967ce833ec82a3
      https://github.com/llvm/llvm-project/commit/24333481cb23389516d47ef08e967ce833ec82a3
  Author: Zhuojia Shen <chaosdefinition at hotmail.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/test/builtins/Unit/adddf3vfp_test.c
    M compiler-rt/test/builtins/Unit/addsf3vfp_test.c
    M compiler-rt/test/builtins/Unit/divdf3vfp_test.c
    M compiler-rt/test/builtins/Unit/divsf3vfp_test.c
    M compiler-rt/test/builtins/Unit/eqdf2vfp_test.c
    M compiler-rt/test/builtins/Unit/eqsf2vfp_test.c
    M compiler-rt/test/builtins/Unit/extendsfdf2vfp_test.c
    M compiler-rt/test/builtins/Unit/fixdfsivfp_test.c
    M compiler-rt/test/builtins/Unit/fixsfsivfp_test.c
    M compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c
    M compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c
    M compiler-rt/test/builtins/Unit/floatsidfvfp_test.c
    M compiler-rt/test/builtins/Unit/floatsisfvfp_test.c
    M compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c
    M compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c
    M compiler-rt/test/builtins/Unit/gedf2vfp_test.c
    M compiler-rt/test/builtins/Unit/gesf2vfp_test.c
    M compiler-rt/test/builtins/Unit/gtdf2vfp_test.c
    M compiler-rt/test/builtins/Unit/gtsf2vfp_test.c
    M compiler-rt/test/builtins/Unit/ledf2vfp_test.c
    M compiler-rt/test/builtins/Unit/lesf2vfp_test.c
    M compiler-rt/test/builtins/Unit/ltdf2vfp_test.c
    M compiler-rt/test/builtins/Unit/ltsf2vfp_test.c
    M compiler-rt/test/builtins/Unit/muldf3vfp_test.c
    M compiler-rt/test/builtins/Unit/mulsf3vfp_test.c
    M compiler-rt/test/builtins/Unit/nedf2vfp_test.c
    M compiler-rt/test/builtins/Unit/negdf2vfp_test.c
    M compiler-rt/test/builtins/Unit/negsf2vfp_test.c
    M compiler-rt/test/builtins/Unit/nesf2vfp_test.c
    M compiler-rt/test/builtins/Unit/subdf3vfp_test.c
    M compiler-rt/test/builtins/Unit/subsf3vfp_test.c
    M compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c
    M compiler-rt/test/builtins/Unit/unorddf2vfp_test.c
    M compiler-rt/test/builtins/Unit/unordsf2vfp_test.c

  Log Message:
  -----------
  [builtins][ARM] Check __ARM_FP instead of __VFP_FP__.

This patch fixes builtins' CMakeLists.txt and their VFP tests to check
the standard macro defined in the ACLE for VFP support. It also enables
the tests to be built and run for single-precision-only targets while
builtins were built with double-precision support.

Differential revision: https://reviews.llvm.org/D92497




More information about the All-commits mailing list