Searched refs:m1 (Results 1 - 25 of 27) sorted by relevance

12

/gem5/src/systemc/tests/systemc/kernel/sc_module_name/test01/
H A Dtest01.cpp63 base_mod m1( "m1" );
68 cout << m1.name() << endl;
/gem5/ext/mcpat/cacti/
H A Dcacti_interface.cc51 bool mem_array::lt(const mem_array * m1, const mem_array * m2) { argument
52 if (m1->Nspd < m2->Nspd) return true;
53 else if (m1->Nspd > m2->Nspd) return false;
54 else if (m1->Ndwl < m2->Ndwl) return true;
55 else if (m1->Ndwl > m2->Ndwl) return false;
56 else if (m1->Ndbl < m2->Ndbl) return true;
57 else if (m1->Ndbl > m2->Ndbl) return false;
58 else if (m1->deg_bl_muxing < m2->deg_bl_muxing) return true;
59 else if (m1->deg_bl_muxing > m2->deg_bl_muxing) return false;
60 else if (m1
[all...]
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test05/
H A Dtest05.cpp62 mod m1("m1");
/gem5/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/
H A Dsc_method_reset_throw.cpp45 SC_METHOD(m1); dont_initialize();
53 cout << sc_time_stamp() << ": reset method m1" << endl;
55 cout << sc_time_stamp() << ": after reset of method m1" << endl;
58 void m1() function
60 cout << sc_time_stamp() << ": in m1" << endl;
61 cout << sc_time_stamp() << ": in m1() "
65 my_exception("thrown in throwee1 from m1()")
68 cout << sc_time_stamp() << ": in m1() "
/gem5/src/systemc/tests/systemc/tmp/others/sc_writer_bug/
H A Dsc_writer_bug.cpp40 M *m1; member in struct:Top
48 m1 = new M("m1", sc_time(1, SC_PS));
51 m1->port.bind(multi_sig_1);
/gem5/src/systemc/tests/systemc/utils/sc_report/cached/
H A Dcached.cpp101 sc_event t1, t2, m1, m2; local
113 sensitive << m1; local
133 dump_cached_report("m1");
172 uut.m1.notify();
184 uut.m1.notify();
198 uut.m1.notify();
211 uut.m1.notify();
221 uut.m1.notify();
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_ieee.h333 unsigned int m1 = mantissa1(); local
344 else if( m1 != 0 )
347 MSB_STATEMENT(m1,16);
348 MSB_STATEMENT(m1,8);
349 MSB_STATEMENT(m1,4);
350 MSB_STATEMENT(m1,2);
351 MSB_STATEMENT(m1,1);
369 unsigned int m1 = mantissa1(); local
370 if( m1 != 0 )
373 LSB_STATEMENT(m1,1
[all...]
H A Dsc_fxnum.cpp783 unsigned int m1 = id.mantissa1(); local
791 m1 = ~ m1;
792 unsigned int tmp = m1;
793 m1 += 1U;
794 if( m1 <= tmp )
806 return ( ( m1 & 1U << j ) != 0 );
854 unsigned int m1 = id.mantissa1(); local
862 m1 = ~ m1;
[all...]
H A Dsc_fxval.cpp617 unsigned int m1 = id.mantissa1(); local
625 m1 = ~ m1;
626 unsigned int tmp = m1;
627 m1 += 1U;
628 if( m1 <= tmp )
640 return ( ( m1 & 1U << j ) != 0 );
H A Dscfx_rep.cpp830 unsigned int m1 = 0;
838 m1 = m_mant[m_msw - 1];
846 m1 = m_mant[m_msw] << ( bits_in_word + shift );
849 m1 |= m_mant[m_msw - 1] >> -shift;
859 m1 = m_mant[m_msw - 1] << shift;
862 m1 |= m_mant[m_msw - 2] >> ( bits_in_word - shift );
877 m1 = m1 >> subnormal_shift
883 m1 = m0 >> ( subnormal_shift - bits_in_word );
893 id.mantissa1( m1 );
[all...]
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_ieee.hh297 unsigned int m1 = mantissa1(); local
306 } else if (m1 != 0) {
308 MSB_STATEMENT(m1, 16);
309 MSB_STATEMENT(m1, 8);
310 MSB_STATEMENT(m1, 4);
311 MSB_STATEMENT(m1, 2);
312 MSB_STATEMENT(m1, 1);
327 unsigned int m1 = mantissa1(); local
328 if (m1 != 0) {
330 LSB_STATEMENT(m1, 1
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc322 Matcher<int> m1 = 5; local
323 EXPECT_TRUE(m1.Matches(5));
324 EXPECT_FALSE(m1.Matches(6));
329 Matcher<int*> m1 = NULL; local
330 EXPECT_TRUE(m1.Matches(NULL));
332 EXPECT_FALSE(m1.Matches(&n));
338 Matcher<bool> m1 = Eq(false); local
339 EXPECT_TRUE(m1.Matches(false));
340 EXPECT_FALSE(m1.Matches(true));
343 m1
370 Matcher<string> m1 = "hi"; local
382 Matcher<string> m1 = string("hi"); local
395 Matcher<StringPiece> m1 = "cats"; local
407 Matcher<StringPiece> m1 = string("cats"); local
419 Matcher<StringPiece> m1 = StringPiece("cats"); local
464 Matcher<const int&> m1 = ReferencesBarOrIsZero(); local
507 const Matcher<int> m1 = PolymorphicIsEven(); local
556 Matcher<double> m1 = Eq(2.0); local
572 Matcher<const int&> m1 = Eq(0); local
580 Matcher<int&> m1 = Eq(0); local
588 Matcher<int> m1 = Eq(0); local
596 Matcher<int> m1 = Eq(0); local
606 Matcher<int> m1 = Eq(0); local
686 Matcher<double> m1 = DoubleEq(1.0); local
700 Matcher<Base*> m1 = Eq(&d); local
714 Matcher<const int&> m1 = Ref(n); local
723 Matcher<int> m1 = Eq(0); local
731 Matcher<int> m1 = Eq(0); local
741 Matcher<int> m1 = Eq(0); local
785 Matcher<double> m1 = A<double>(); local
814 Matcher<int> m1 = An<int>(); local
835 Matcher<int> m1 = _; local
859 Matcher<const char*> m1 = Eq(a1); local
887 Matcher<int> m1 = Eq(1); local
898 Matcher<char> m1 = TypedEq<char>('a'); local
934 Matcher<int> m1 = Ge(0); local
948 Matcher<double> m1 = Gt(0); local
962 Matcher<char> m1 = Le('b'); local
976 Matcher<const string&> m1 = Lt("Hello"); local
990 Matcher<int> m1 = Ne(0); local
1004 Matcher<int*> m1 = IsNull(); local
1067 Matcher<int*> m1 = NotNull(); local
1148 Matcher<const Base&> m1 = Ref(base); local
1231 Matcher<const string&> m1 = StrCaseEq(str1); local
1273 const Matcher<string> m1 = HasSubstr("foo"); local
1284 const Matcher<char*> m1 = HasSubstr("foo"); local
1358 Matcher<const pair<const char*, int>&> m1 = Pair("foo", 42); local
1367 Matcher<const pair<std::string, int>&> m1 = Pair("foo", 42); local
1463 const Matcher<const char*> m1 = StartsWith(string("")); local
1484 const Matcher<const char*> m1 = EndsWith(""); local
1505 const Matcher<const char*> m1 = MatchesRegex("a.*z"); local
1517 Matcher<const std::string> m1 = MatchesRegex(string("Hi.*")); local
1527 const Matcher<const char*> m1 = ContainsRegex(string("a.*z")); local
1539 Matcher<const std::string> m1 = ContainsRegex("Hi.*"); local
1624 Matcher<const ::std::wstring&> m1 = StrCaseEq(str1); local
1666 const Matcher< ::std::wstring> m1 = HasSubstr(L"foo"); local
1677 const Matcher<wchar_t*> m1 = HasSubstr(L"foo"); local
1697 const Matcher<const wchar_t*> m1 = StartsWith(::std::wstring(L"")); local
1718 const Matcher<const wchar_t*> m1 = EndsWith(L""); local
1815 Matcher<const ::wstring&> m1 = StrCaseEq(str1); local
1857 const Matcher< ::wstring> m1 = HasSubstr(L"foo"); local
1868 const Matcher<wchar_t*> m1 = HasSubstr(L"foo"); local
1888 const Matcher<const wchar_t*> m1 = StartsWith(::wstring(L"")); local
1909 const Matcher<const wchar_t*> m1 = EndsWith(L""); local
2737 Matcher<RawType> m1 = matcher_maker(0.0); local
2826 Matcher<RawType> m1 = matcher_maker(0.0, 0.0); local
2927 Matcher<float> m1 = FloatEq(2.0f); local
2941 Matcher<float> m1 = NanSensitiveFloatEq(2.0f); local
2967 Matcher<float> m1 = FloatNear(2.0f, 0.5f); local
2983 Matcher<float> m1 = NanSensitiveFloatNear(2.0f, 0.5f); local
3042 Matcher<double> m1 = DoubleEq(2.0); local
3056 Matcher<double> m1 = NanSensitiveDoubleEq(2.0); local
3082 Matcher<double> m1 = DoubleNear(2.0, 0.5); local
3111 Matcher<double> m1 = NanSensitiveDoubleNear(2.0, 0.5); local
4144 Matcher<vector<int> > m1 = SizeIs(2); local
4611 Matcher<vector<int> > m1 = BeginEndDistanceIs(2); local
5526 const Matcher<tuple<const double&, const int&> > m1 = IsHalfOf(); local
5642 const Matcher<tuple<const double&, const int&> > m1 = IsHalfOf(); local
[all...]
H A Dgmock-generated-matchers_test.cc773 const Matcher<int> m1 = IsEven2(); local
774 EXPECT_EQ("is even", Describe(m1));
775 EXPECT_EQ("is odd", DescribeNegation(m1));
784 const Matcher<int> m1 = IsEven2(); local
785 EXPECT_EQ("OK", Explain(m1, 4));
786 EXPECT_EQ("% 2 == 1", Explain(m1, 5));
807 const Matcher< ::std::string> m1 = IsEmptyString(); local
808 EXPECT_TRUE(m1.Matches(""));
1098 MATCHER_P3(TwoOf, m1, m2, m3, "") {
1099 const int count = static_cast<int>(Value(arg, m1))
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_writer_policy/
H A Dsc_writer_policy.cpp124 M *m1; member in struct:Top
145 m1 = new M("m1", sc_time(1, SC_PS));
148 m1->port.bind(many_sig_1);
309 sc_assert( top.m1->g0 );
311 sc_assert( top.m1->g1 );
313 sc_assert( top.m1->g2 );
315 sc_assert( top.m1->g3 );
/gem5/ext/pybind11/tests/
H A Dtest_constants_and_functions.py27 assert c.m1(2) == 1
H A Dtest_copy_move.py111 m1 = m.get_moveissue1(1)
112 assert m1.value == 1
H A Dtest_constants_and_functions.cpp61 int m1(int x) noexcept { return x-1; }
114 .def("m1", &C::m1)
H A Dtest_copy_move.cpp119 MoveOrCopyInt m1(py::cast<MoveOrCopyInt>(o)); /* moves */
122 r += m1.value + m2.value + m3.value;
/gem5/src/systemc/dt/fx/
H A Dsc_fxnum.cc714 unsigned int m1 = id.mantissa1(); local
721 m1 = ~ m1;
722 unsigned int tmp = m1;
723 m1 += 1U;
724 if (m1 <= tmp)
735 return ((m1 & 1U << j) != 0);
779 unsigned int m1 = id.mantissa1(); local
786 m1 = ~ m1;
[all...]
H A Dsc_fxval.cc577 unsigned int m1 = id.mantissa1(); local
584 m1 = ~ m1;
585 unsigned int tmp = m1;
586 m1 += 1U;
587 if (m1 <= tmp)
598 return ((m1 & 1U << j) != 0);
/gem5/src/base/
H A Dbitfield.hh249 const uint64_t m1 = 0x5555555555555555; // ..010101b
254 val -= (val >> 1) & m1; // 2 bits count -> 2 bits
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/
H A Dsc_vector.cpp301 M *m1, *m2, *m3; member in struct:Top
309 m1 = new M("m1", 4);
314 m1->ports[i].bind( sigs[i] ); // Using operator[] with a vector
373 sc_assert( top.m1->creator_func_called );
/gem5/src/systemc/tests/systemc/1666-2011-compliance/method_with_reset/
H A Dmethod_with_reset.cpp53 m1 = sc_get_current_process_handle();
69 sc_process_handle m1, m2, m3, m4, m5, m6; member in struct:Top
174 m1.disable();
254 m1.reset();
361 or_list |= m1.reset_event();
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h91 MockSpec<F>& With(const Matcher<A1>& m1) { argument
92 this->current_spec().SetMatchers(::testing::make_tuple(m1));
112 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) { argument
113 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2));
133 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2, argument
135 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3));
155 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2, argument
157 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4));
178 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2, argument
180 this->current_spec().SetMatchers(::testing::make_tuple(m1, m
201 With(const Matcher<A1>& m1, const Matcher<A2>& m2, const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, const Matcher<A6>& m6) argument
226 With(const Matcher<A1>& m1, const Matcher<A2>& m2, const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, const Matcher<A6>& m6, const Matcher<A7>& m7) argument
251 With(const Matcher<A1>& m1, const Matcher<A2>& m2, const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, const Matcher<A6>& m6, const Matcher<A7>& m7, const Matcher<A8>& m8) argument
276 With(const Matcher<A1>& m1, const Matcher<A2>& m2, const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, const Matcher<A6>& m6, const Matcher<A7>& m7, const Matcher<A8>& m8, const Matcher<A9>& m9) argument
303 With(const Matcher<A1>& m1, const Matcher<A2>& m2, const Matcher<A3>& m3, const Matcher<A4>& m4, const Matcher<A5>& m5, const Matcher<A6>& m6, const Matcher<A7>& m7, const Matcher<A8>& m8, const Matcher<A9>& m9, const Matcher<A10>& m10) argument
[all...]
H A Dgmock-generated-matchers.h299 // AllOf(m1, ..., mN) returns
300 // AllOfResultN<decltype(m1), ..., decltype(mN)>::type.
387 // AnyOf(m1, ..., mN) returns
388 // AnyOfResultN<decltype(m1), ..., decltype(mN)>::type.
997 // AllOf(m1, m2, ..., mk) matches any value that matches all of the given
1002 AllOf(M1 m1, M2 m2) { argument
1004 m1,
1010 AllOf(M1 m1, M2 m2, M3 m3) { argument
1012 m1,
1018 AllOf(M1 m1, M argument
1026 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) argument
1035 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) argument
1044 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) argument
1053 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) argument
1062 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) argument
1073 AllOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) argument
1085 AnyOf(M1 m1, M2 m2) argument
1093 AnyOf(M1 m1, M2 m2, M3 m3) argument
1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) argument
1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) argument
1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) argument
1127 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) argument
1136 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) argument
1145 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) argument
1156 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) argument
[all...]

Completed in 66 milliseconds

12