|
3040 | 3040 | // MIPS32BE:#define __llvm__ 1
|
3041 | 3041 | // MIPS32BE:#define __mips 32
|
3042 | 3042 | // MIPS32BE:#define __mips__ 1
|
| 3043 | +// MIPS32BE:#define __mips_abicalls 1 |
3043 | 3044 | // MIPS32BE:#define __mips_fpr 32
|
3044 | 3045 | // MIPS32BE:#define __mips_hard_float 1
|
3045 | 3046 | // MIPS32BE:#define __mips_o32 1
|
|
3246 | 3247 | // MIPS32EL:#define __llvm__ 1
|
3247 | 3248 | // MIPS32EL:#define __mips 32
|
3248 | 3249 | // MIPS32EL:#define __mips__ 1
|
| 3250 | +// MIPS32EL:#define __mips_abicalls 1 |
3249 | 3251 | // MIPS32EL:#define __mips_fpr 32
|
3250 | 3252 | // MIPS32EL:#define __mips_hard_float 1
|
3251 | 3253 | // MIPS32EL:#define __mips_o32 1
|
|
3555 | 3557 | // MIPSN32BE: #define __mips64 1
|
3556 | 3558 | // MIPSN32BE: #define __mips64__ 1
|
3557 | 3559 | // MIPSN32BE: #define __mips__ 1
|
| 3560 | +// MIPSN32BE: #define __mips_abicalls 1 |
3558 | 3561 | // MIPSN32BE: #define __mips_fpr 64
|
3559 | 3562 | // MIPSN32BE: #define __mips_hard_float 1
|
3560 | 3563 | // MIPSN32BE: #define __mips_isa_rev 2
|
|
3861 | 3864 | // MIPSN32EL: #define __mips64 1
|
3862 | 3865 | // MIPSN32EL: #define __mips64__ 1
|
3863 | 3866 | // MIPSN32EL: #define __mips__ 1
|
| 3867 | +// MIPSN32EL: #define __mips_abicalls 1 |
3864 | 3868 | // MIPSN32EL: #define __mips_fpr 64
|
3865 | 3869 | // MIPSN32EL: #define __mips_hard_float 1
|
3866 | 3870 | // MIPSN32EL: #define __mips_isa_rev 2
|
|
4073 | 4077 | // MIPS64BE:#define __mips64 1
|
4074 | 4078 | // MIPS64BE:#define __mips64__ 1
|
4075 | 4079 | // MIPS64BE:#define __mips__ 1
|
| 4080 | +// MIPS64BE:#define __mips_abicalls 1 |
4076 | 4081 | // MIPS64BE:#define __mips_fpr 64
|
4077 | 4082 | // MIPS64BE:#define __mips_hard_float 1
|
4078 | 4083 | // MIPS64BE:#define __mips_n64 1
|
|
4282 | 4287 | // MIPS64EL:#define __mips64 1
|
4283 | 4288 | // MIPS64EL:#define __mips64__ 1
|
4284 | 4289 | // MIPS64EL:#define __mips__ 1
|
| 4290 | +// MIPS64EL:#define __mips_abicalls 1 |
4285 | 4291 | // MIPS64EL:#define __mips_fpr 64
|
4286 | 4292 | // MIPS64EL:#define __mips_hard_float 1
|
4287 | 4293 | // MIPS64EL:#define __mips_n64 1
|
|
4513 | 4519 | // MIPS-XXR6:#define __mips_fpr 64
|
4514 | 4520 | // MIPS-XXR6:#define __mips_nan2008 1
|
4515 | 4521 | //
|
| 4522 | +// RUN: %clang_cc1 -target-cpu mips32 \ |
| 4523 | +// RUN: -E -dM -triple=mips-unknown-netbsd -mrelocation-model pic < /dev/null \ |
| 4524 | +// RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-NETBSD %s |
| 4525 | +// MIPS-ABICALLS-NETBSD-NOT: #define __ABICALLS__ 1 |
| 4526 | +// MIPS-ABICALLS-NETBSD: #define __mips_abicalls 1 |
| 4527 | +// |
| 4528 | +// RUN: %clang_cc1 -target-cpu mips64 \ |
| 4529 | +// RUN: -E -dM -triple=mips64-unknown-netbsd -mrelocation-model pic < \ |
| 4530 | +// RUN: /dev/null | FileCheck -match-full-lines \ |
| 4531 | +// RUN: -check-prefix MIPS-ABICALLS-NETBSD64 %s |
| 4532 | +// MIPS-ABICALLS-NETBSD64-NOT: #define __ABICALLS__ 1 |
| 4533 | +// MIPS-ABICALLS-NETBSD64: #define __mips_abicalls 1 |
| 4534 | +// |
| 4535 | +// RUN: %clang_cc1 -target-cpu mips32 \ |
| 4536 | +// RUN: -E -dM -triple=mips-unknown-freebsd -mrelocation-model pic < /dev/null \ |
| 4537 | +// RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-FREEBSD %s |
| 4538 | +// MIPS-ABICALLS-FREEBSD: #define __ABICALLS__ 1 |
| 4539 | +// MIPS-ABICALLS-FREEBSD: #define __mips_abicalls 1 |
| 4540 | +// |
| 4541 | +// RUN: %clang_cc1 -target-cpu mips64 \ |
| 4542 | +// RUN: -E -dM -triple=mips64-unknown-freebsd -mrelocation-model pic < \ |
| 4543 | +// RUN: /dev/null | FileCheck -match-full-lines \ |
| 4544 | +// RUN: -check-prefix MIPS-ABICALLS-FREEBSD64 %s |
| 4545 | +// MIPS-ABICALLS-FREEBSD64: #define __ABICALLS__ 1 |
| 4546 | +// MIPS-ABICALLS-FREEBSD64: #define __mips_abicalls 1 |
| 4547 | +// |
| 4548 | +// RUN: %clang_cc1 -target-cpu mips32 \ |
| 4549 | +// RUN: -E -dM -triple=mips-unknown-openbsd -mrelocation-model pic < /dev/null \ |
| 4550 | +// RUN: | FileCheck -match-full-lines -check-prefix MIPS-ABICALLS-OPENBSD %s |
| 4551 | +// MIPS-ABICALLS-OPENBSD: #define __ABICALLS__ 1 |
| 4552 | +// MIPS-ABICALLS-OPENBSD: #define __mips_abicalls 1 |
| 4553 | +// |
| 4554 | +// RUN: %clang_cc1 -target-cpu mips64 \ |
| 4555 | +// RUN: -E -dM -triple=mips64-unknown-openbsd -mrelocation-model pic < \ |
| 4556 | +// RUN: /dev/null | FileCheck -match-full-lines \ |
| 4557 | +// RUN: -check-prefix MIPS-ABICALLS-OPENBSD64 %s |
| 4558 | +// MIPS-ABICALLS-OPENBSD64: #define __ABICALLS__ 1 |
| 4559 | +// MIPS-ABICALLS-OPENBSD64: #define __mips_abicalls 1 |
| 4560 | +// |
4516 | 4561 | // RUN: %clang_cc1 -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MSP430 %s
|
4517 | 4562 | // RUN: %clang_cc1 -x c++ -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -match-full-lines -check-prefix MSP430 -check-prefix MSP430-CXX %s
|
4518 | 4563 | //
|
|
0 commit comments