| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Target dependent generic vector operation expansion |
| 4 | * |
| 5 | * Copyright (c) 2018 Linaro |
| 6 | */ |
| 7 | |
| 8 | #ifndef TCG_TCG_OP_GVEC_H |
| 9 | #define TCG_TCG_OP_GVEC_H |
| 10 | |
| 11 | #include "tcg/tcg-op-gvec-common.h" |
| 12 | |
| 13 | #ifndef TARGET_LONG_BITS |
| 14 | #error must include QEMU headers |
| 15 | #endif |
| 16 | |
| 17 | #if TARGET_LONG_BITS == 64 |
| 18 | #define tcg_gen_gvec_dup_tl tcg_gen_gvec_dup_i64 |
| 19 | #elif TARGET_LONG_BITS == 32 |
| 20 | #define tcg_gen_gvec_dup_tl tcg_gen_gvec_dup_i32 |
| 21 | #else |
| 22 | # error |
| 23 | #endif |
| 24 | |
| 25 | #endif |