Searched refs:expect (Results 1 - 10 of 10) sorted by relevance

/gem5/tests/test-progs/insttest/src/riscv/
H A Drv64c.cpp43 expect<bool>(true, []{
54 expect<bool>(true, []{
65 expect<bool>(true, []{
76 expect<bool>(true, []{
89 expect<bool>(true, []{
102 expect<bool>(true, []{
115 expect<int64_t>(458752,
118 expect<int64_t>(numeric_limits<int32_t>::min(),
121 expect<int64_t>(30064771072,
123 expect<doubl
[all...]
H A Drv64m.cpp43 expect<int64_t>(39285, []{return M::mul(873, 45);}, "mul");
44 expect<int64_t>(0, []{return M::mul(0x4000000000000000LL, 4);},
48 expect<int64_t>(1, []{return M::mulh(0x4000000000000000LL, 4);}, "mulh");
49 expect<int64_t>(-1, []{return M::mulh(numeric_limits<int64_t>::min(), 2);},
51 expect<int64_t>(0, []{return M::mulh(-1, -1);}, "mulh, all bits set");
54 expect<int64_t>(-1, []{return M::mulhsu(-1, -1);}, "mulhsu, all bits set");
55 expect<int64_t>(-1,
60 expect<uint64_t>(1, []{return M::mulhu(0x8000000000000000ULL, 2);},
62 expect<uint64_t>(0xFFFFFFFFFFFFFFFEULL, []{return M::mulhu(-1, -1);},
66 expect<int64_
[all...]
H A Drv64f.cpp43 expect<uint64_t>(0, []{
49 expect<float>(3.14, []{return F::load(3.14);}, "flw");
50 expect<float>(1.816, []{return F::store(1.816);}, "fsw");
53 expect<float>(7.11624, []{return F::fmadd_s(3.14, 1.816, 1.414);},
55 expect<bool>(true, []{
60 expect<bool>(true, []{
65 expect<float>(numeric_limits<float>::infinity(),
69 expect<float>(-numeric_limits<float>::infinity(),
75 expect<float>(4.28824, []{return F::fmsub_s(3.14, 1.816, 1.414);},
77 expect<boo
[all...]
H A Drv64i.cpp52 expect<int64_t>(4096, []{return I::lui(1);}, "lui");
53 expect<int64_t>(numeric_limits<int32_t>::min(),
57 expect<bool>(true, []{return I::auipc(3);}, "auipc");
60 expect<bool>(true, []{return I::jal();}, "jal");
61 expect<bool>(true, []{return I::jalr();}, "jalr");
64 expect<bool>(true, []{return I::beq(5, 5);}, "beq, equal");
65 expect<bool>(false, []{return I::beq(numeric_limits<int64_t>::max(),
69 expect<bool>(false, []{return I::bne(5, 5);}, "bne, equal");
70 expect<bool>(true, []{return I::bne(numeric_limits<int64_t>::max(),
74 expect<boo
[all...]
H A Drv64d.cpp44 expect<double>(3.1415926, []{return D::load(3.1415926);}, "fld");
45 expect<double>(1.61803398875, []{return D::store(1.61803398875);}, "fsd");
48 expect<double>(D::number(0x4019FD5AED13B1CEULL),
51 expect<bool>(true, []{
56 expect<bool>(true, []{
61 expect<double>(numeric_limits<double>::infinity(),
64 expect<double>(-numeric_limits<double>::infinity(),
69 expect<double>(D::number(0x400d5A1773A85E43ULL),
72 expect<bool>(true, []{
77 expect<boo
[all...]
H A Drv64a.cpp43 expect<pair<int64_t, int64_t>>({-1, 256}, []{
54 expect<pair<bool, int64_t>>({true, 200}, []{
61 expect<pair<int64_t, int64_t>>({65535, 255},
63 expect<pair<int64_t, int64_t>>({0xFFFFFFFF, -1},
66 expect<pair<int64_t, int64_t>>({0x0000000180000000LL, -1},
72 expect<pair<int64_t, int64_t>>({256, 255},
74 expect<pair<int64_t, int64_t>>({0, -1},
77 expect<pair<int64_t, int64_t>>({0xFFFFFFFF, 0x7FFFFFFF},
82 expect<pair<uint64_t, uint64_t>>({0xFFFFFFFFAAAAAAAALL, -1},
85 expect<pai
[all...]
H A Dinsttest.h63 expect(const T& expected, std::function<T()> func, function in namespace:insttest
/gem5/util/
H A Dqdo110 self.expect('\$ ', options.oarsub_timeout)
118 # version of expect that updates full_output too
119 def expect(self, regexp, timeout = -1):
120 pexpect.spawn.expect(self, regexp, timeout)
131 self.expect(self.prompt_re, timeout)
228 shell.expect('Disconnected from OAR job .*')
/gem5/ext/pybind11/tests/
H A Dtest_eigen.py460 expect = np.array([[11., 12, 13], [21, 22, 99], [31, 32, 33]])
462 assert np.all(zc == expect)
463 assert np.all(zcro == expect)
464 assert np.all(m.get_cm_ref() == expect)
467 assert np.all(zr == expect)
468 assert np.all(zrro == expect)
469 assert np.all(m.get_rm_ref() == expect)
508 expect = np.array([[0., 22, 20], [31, 37, 33], [41, 42, 38]])
509 assert np.all(z == expect)
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc709 vector<int> expect(a, a + GTEST_ARRAY_SIZE_(a));
711 ElementsAreArray(expect.begin(), expect.end());
716 for (Iter it = expect.begin(); it != expect.end(); ++it) { *it += 10; }

Completed in 21 milliseconds