Viewing file: ld1ub_gather_u64.c (4.53 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" { target { ! ilp32 } } } } */
#include "test_sve_acle.h"
/* ** ld1ub_gather_u64_tied1: ** ld1b z0\.d, p0/z, \[z0\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_u64_tied1, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_u64 (p0, z0), z0_res = svld1ub_gather_u64 (p0, z0))
/* ** ld1ub_gather_u64_untied: ** ld1b z0\.d, p0/z, \[z1\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_u64_untied, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_u64 (p0, z1), z0_res = svld1ub_gather_u64 (p0, z1))
/* ** ld1ub_gather_x0_u64_offset: ** ld1b z0\.d, p0/z, \[x0, z0\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_x0_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, x0), z0_res = svld1ub_gather_offset_u64 (p0, z0, x0))
/* ** ld1ub_gather_m1_u64_offset: ** mov (x[0-9]+), #?-1 ** ld1b z0\.d, p0/z, \[\1, z0\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_m1_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, -1), z0_res = svld1ub_gather_offset_u64 (p0, z0, -1))
/* ** ld1ub_gather_0_u64_offset: ** ld1b z0\.d, p0/z, \[z0\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_0_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, 0), z0_res = svld1ub_gather_offset_u64 (p0, z0, 0))
/* ** ld1ub_gather_5_u64_offset: ** ld1b z0\.d, p0/z, \[z0\.d, #5\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_5_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, 5), z0_res = svld1ub_gather_offset_u64 (p0, z0, 5))
/* ** ld1ub_gather_31_u64_offset: ** ld1b z0\.d, p0/z, \[z0\.d, #31\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_31_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, 31), z0_res = svld1ub_gather_offset_u64 (p0, z0, 31))
/* ** ld1ub_gather_32_u64_offset: ** mov (x[0-9]+), #?32 ** ld1b z0\.d, p0/z, \[\1, z0\.d\] ** ret */ TEST_LOAD_GATHER_ZS (ld1ub_gather_32_u64_offset, svuint64_t, svuint64_t, z0_res = svld1ub_gather_u64base_offset_u64 (p0, z0, 32), z0_res = svld1ub_gather_offset_u64 (p0, z0, 32))
/* ** ld1ub_gather_x0_u64_s64offset: ** ld1b z0\.d, p0/z, \[x0, z0\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_x0_u64_s64offset, svuint64_t, uint8_t, svint64_t, z0_res = svld1ub_gather_s64offset_u64 (p0, x0, z0), z0_res = svld1ub_gather_offset_u64 (p0, x0, z0))
/* ** ld1ub_gather_tied1_u64_s64offset: ** ld1b z0\.d, p0/z, \[x0, z0\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_tied1_u64_s64offset, svuint64_t, uint8_t, svint64_t, z0_res = svld1ub_gather_s64offset_u64 (p0, x0, z0), z0_res = svld1ub_gather_offset_u64 (p0, x0, z0))
/* ** ld1ub_gather_untied_u64_s64offset: ** ld1b z0\.d, p0/z, \[x0, z1\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_untied_u64_s64offset, svuint64_t, uint8_t, svint64_t, z0_res = svld1ub_gather_s64offset_u64 (p0, x0, z1), z0_res = svld1ub_gather_offset_u64 (p0, x0, z1))
/* ** ld1ub_gather_ext_u64_s64offset: ** ld1b z0\.d, p0/z, \[x0, z1\.d, sxtw\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_ext_u64_s64offset, svuint64_t, uint8_t, svint64_t, z0_res = svld1ub_gather_s64offset_u64 (p0, x0, svextw_s64_x (p0, z1)), z0_res = svld1ub_gather_offset_u64 (p0, x0, svextw_x (p0, z1)))
/* ** ld1ub_gather_x0_u64_u64offset: ** ld1b z0\.d, p0/z, \[x0, z0\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_x0_u64_u64offset, svuint64_t, uint8_t, svuint64_t, z0_res = svld1ub_gather_u64offset_u64 (p0, x0, z0), z0_res = svld1ub_gather_offset_u64 (p0, x0, z0))
/* ** ld1ub_gather_tied1_u64_u64offset: ** ld1b z0\.d, p0/z, \[x0, z0\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_tied1_u64_u64offset, svuint64_t, uint8_t, svuint64_t, z0_res = svld1ub_gather_u64offset_u64 (p0, x0, z0), z0_res = svld1ub_gather_offset_u64 (p0, x0, z0))
/* ** ld1ub_gather_untied_u64_u64offset: ** ld1b z0\.d, p0/z, \[x0, z1\.d\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_untied_u64_u64offset, svuint64_t, uint8_t, svuint64_t, z0_res = svld1ub_gather_u64offset_u64 (p0, x0, z1), z0_res = svld1ub_gather_offset_u64 (p0, x0, z1))
/* ** ld1ub_gather_ext_u64_u64offset: ** ld1b z0\.d, p0/z, \[x0, z1\.d, uxtw\] ** ret */ TEST_LOAD_GATHER_SZ (ld1ub_gather_ext_u64_u64offset, svuint64_t, uint8_t, svuint64_t, z0_res = svld1ub_gather_u64offset_u64 (p0, x0, svextw_u64_x (p0, z1)), z0_res = svld1ub_gather_offset_u64 (p0, x0, svextw_x (p0, z1)))
|