Viewing file: dot_lane_s64.c (1.74 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
#include "test_sve_acle.h"
/* ** dot_lane_0_s64_tied1: ** sdot z0\.d, z4\.h, z5\.h\[0\] ** ret */ TEST_DUAL_Z (dot_lane_0_s64_tied1, svint64_t, svint16_t, z0 = svdot_lane_s64 (z0, z4, z5, 0), z0 = svdot_lane (z0, z4, z5, 0))
/* ** dot_lane_0_s64_tied2: ** mov (z[0-9]+)\.d, z0\.d ** movprfx z0, z4 ** sdot z0\.d, \1\.h, z1\.h\[0\] ** ret */ TEST_DUAL_Z_REV (dot_lane_0_s64_tied2, svint64_t, svint16_t, z0_res = svdot_lane_s64 (z4, z0, z1, 0), z0_res = svdot_lane (z4, z0, z1, 0))
/* ** dot_lane_0_s64_tied3: ** mov (z[0-9]+)\.d, z0\.d ** movprfx z0, z4 ** sdot z0\.d, z1\.h, \1\.h\[0\] ** ret */ TEST_DUAL_Z_REV (dot_lane_0_s64_tied3, svint64_t, svint16_t, z0_res = svdot_lane_s64 (z4, z1, z0, 0), z0_res = svdot_lane (z4, z1, z0, 0))
/* ** dot_lane_0_s64_untied: ** movprfx z0, z1 ** sdot z0\.d, z4\.h, z5\.h\[0\] ** ret */ TEST_DUAL_Z (dot_lane_0_s64_untied, svint64_t, svint16_t, z0 = svdot_lane_s64 (z1, z4, z5, 0), z0 = svdot_lane (z1, z4, z5, 0))
/* ** dot_lane_1_s64: ** sdot z0\.d, z4\.h, z5\.h\[1\] ** ret */ TEST_DUAL_Z (dot_lane_1_s64, svint64_t, svint16_t, z0 = svdot_lane_s64 (z0, z4, z5, 1), z0 = svdot_lane (z0, z4, z5, 1))
/* ** dot_lane_z15_s64: ** str d15, \[sp, -16\]! ** sdot z0\.d, z1\.h, z15\.h\[1\] ** ldr d15, \[sp\], 16 ** ret */ TEST_DUAL_LANE_REG (dot_lane_z15_s64, svint64_t, svint16_t, z15, z0 = svdot_lane_s64 (z0, z1, z15, 1), z0 = svdot_lane (z0, z1, z15, 1))
/* ** dot_lane_z16_s64: ** mov (z[0-9]|z1[0-5])\.d, z16\.d ** sdot z0\.d, z1\.h, \1\.h\[1\] ** ret */ TEST_DUAL_LANE_REG (dot_lane_z16_s64, svint64_t, svint16_t, z16, z0 = svdot_lane_s64 (z0, z1, z16, 1), z0 = svdot_lane (z0, z1, z16, 1))
|