Lines Matching defs:TestEncodable
845 void TestEncodable(T value, const ZRegister& zd, int64_t expected_imm) {
896 int4_helper.TestEncodable<0>(-8, z0.VnH(), -8);
897 int4_helper.TestEncodable<0>(-7, z0.VnH(), -7);
898 int4_helper.TestEncodable<0>(-1, z0.VnS(), -1);
899 int4_helper.TestEncodable<0>(0, z0.VnD(), 0);
900 int4_helper.TestEncodable<0>(1, z0.VnB(), 1);
901 int4_helper.TestEncodable<0>(7, z0.VnH(), 7);
903 int8_helper.TestEncodable<0>(0x7f, z0.VnB(), 0x7f);
904 int8_helper.TestEncodable<0>(0x7f, z0.VnH(), 0x7f);
905 int12_helper.TestEncodable<0>(0x7ff, z0.VnH(), 0x7ff);
907 int8_helper.TestEncodable<0>(-0x80, z0.VnB(), -0x80);
908 int8_helper.TestEncodable<0>(-0x80, z0.VnH(), -0x80);
909 int12_helper.TestEncodable<0>(-0x800, z0.VnH(), -0x800);
912 int8_helper.TestEncodable<4>(-0x800, z0.VnH(), -0x80);
913 int8_helper.TestEncodable<4>(-0x7f0, z0.VnH(), -0x7f);
914 int8_helper.TestEncodable<4>(-0x010, z0.VnH(), -1);
915 int8_helper.TestEncodable<4>(0x000, z0.VnH(), 0);
916 int8_helper.TestEncodable<4>(0x010, z0.VnH(), 1);
917 int8_helper.TestEncodable<4>(0x7f0, z0.VnH(), 0x7f);
921 int12_helper.TestEncodable<0>(0xffd6, z0.VnH(), -42);
922 int12_helper.TestEncodable<0>(0xffffffd6, z0.VnS(), -42);
923 int12_helper.TestEncodable<4>(0xfd60, z0.VnH(), -42);
924 int12_helper.TestEncodable<8>(0xffffd600, z0.VnS(), -42);
926 int8_helper.TestEncodable<0>(UINT8_MAX, z0.VnB(), -1);
927 int8_helper.TestEncodable<0>(UINT16_MAX, z0.VnH(), -1);
928 int8_helper.TestEncodable<0>(UINT32_MAX, z0.VnS(), -1);
929 int8_helper.TestEncodable<0>(UINT64_MAX, z0.VnD(), -1);
931 int4_helper.TestEncodable<1>(UINT8_MAX ^ 0x1, z0.VnB(), -1);
932 int4_helper.TestEncodable<2>(UINT16_MAX ^ 0x3, z0.VnH(), -1);
933 int4_helper.TestEncodable<3>(UINT32_MAX ^ 0x7, z0.VnS(), -1);
934 int4_helper.TestEncodable<4>(UINT64_MAX ^ 0xf, z0.VnD(), -1);