| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target arm_arch_v6k_thumb_ok } */ |
| 3 |
/* { dg-options "-mthumb" } */ |
| 4 |
/* { dg-add-options arm_arch_v6k } */ |
| 5 |
|
| 6 |
#define NEED_ARM_ARCH |
| 7 |
#define VALUE_ARM_ARCH 6 |
| 8 |
|
| 9 |
#define NEED_ARM_ARCH_ISA_ARM |
| 10 |
#define VALUE_ARM_ARCH_ISA_ARM 1 |
| 11 |
|
| 12 |
#define NEED_ARM_ARCH_ISA_THUMB |
| 13 |
#define VALUE_ARM_ARCH_ISA_THUMB 1 |
| 14 |
|
| 15 |
/* Not in the Thumb ISA, but does exist in Arm state. A call to the library |
| 16 |
function should result in using that instruction in Arm state. */ |
| 17 |
#define NEED_ARM_FEATURE_CLZ |
| 18 |
#define VALUE_ARM_FEATURE_CLZ 1 |
| 19 |
|
| 20 |
#include "ftest-support.h" |