These two macros were added in https://github.com/llvm/llvm-project/pull/89446. But the previous values may not be reasonable for RV64 systems because most of them have a cache line size 64B. So here we change them to 64.
11 lines
420 B
C
11 lines
420 B
C
// RUN: %clang_cc1 -E -dM -triple=riscv32 < /dev/null | \
|
|
// RUN: FileCheck -match-full-lines -check-prefixes=RV32 %s
|
|
// RUN: %clang_cc1 -E -dM -triple=riscv64 < /dev/null | \
|
|
// RUN: FileCheck -match-full-lines -check-prefixes=RV64 %s
|
|
|
|
// RV32: #define __GCC_CONSTRUCTIVE_SIZE 64
|
|
// RV32: #define __GCC_DESTRUCTIVE_SIZE 64
|
|
|
|
// RV64: #define __GCC_CONSTRUCTIVE_SIZE 64
|
|
// RV64: #define __GCC_DESTRUCTIVE_SIZE 64
|