Searched refs:tmp1 (Results 26 - 50 of 53) sorted by relevance

123

/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/xor/xor_1/
H A Dxor_1.cpp43 signed int tmp1; local
65 tmp1 = in_value1.read();
73 tmp1 = tmp1 ^ 0x0f ^ 0x12;
81 out_value1.write(tmp1);
93 tmp1 ^= 0x03;
101 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/modulo/
H A Dmodulo.cpp43 int tmp1; local
64 tmp1 = in_value1.read();
71 tmp1 = tmp1%5;
79 out_value1.write(tmp1);
89 tmp1 %= 3;
97 out_value1.write(tmp1);
108 tmp1 = (tmp2%tmp3).to_int();
118 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/mult/
H A Dmult.cpp43 int tmp1; local
64 tmp1 = in_value1.read();
71 tmp1 = tmp1 * 2;
79 out_value1.write(tmp1);
89 tmp1 *= 2;
97 out_value1.write(tmp1);
107 tmp1 = (tmp2*tmp3).to_int();
115 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/and/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
58 tmp1 = "0b01010101";
71 out_value1.write(tmp1);
81 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " "
83 tmp1 = tmp1 + 2;
H A Ddatatypes.cpp44 sc_bigint<8> tmp1; local
88 tmp1 = in_value1.read();
104 tmp1r = tmp1 & tmp2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/not/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
58 tmp1 = "0b01010101";
71 out_value1.write(tmp1);
81 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " "
83 tmp1 = tmp1 + 2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/bitwidth/
H A Dbitwidth.cpp43 sc_bigint<4> tmp1; local
65 tmp1 = in_value1.read();
74 tmp1 = tmp1 << tmp2;
76 tmp3 = tmp1 << tmp2;
86 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/xor/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
58 tmp1 = "0b01010101";
71 out_value1.write(tmp1);
81 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " "
83 tmp1 = tmp1 + 2;
H A Ddatatypes.cpp44 sc_bigint<8> tmp1; local
88 tmp1 = in_value1.read();
104 tmp1r = tmp1 ^ tmp2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/balancing/
H A Dbalancing.cpp44 sc_biguint<4> tmp1; local
71 tmp1 = in_value1.read();
75 tmpint = tmp1.to_uint();
94 out_value1.write(tmp1);
102 tmp1 = tmp2;
105 tmpint = tmp1.to_uint();
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/datatypes/
H A Ddatatypes.cpp44 sc_biguint<4> tmp1; local
66 tmp1 = in_value1.read();
72 if (tmp1.range(1,3) == 4) {
74 } else if (tmp1.range(3,1) == 4) {
77 out_value1.write(tmp1);
83 } else if ((bool)tmp1[1]==true) {
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/balancing/
H A Dbalancing.cpp43 sc_biguint<4> tmp1; local
67 tmp1 = in_value1.read();
71 if (tmp1 == 4) {
78 } else if (tmp1 == 3) {
83 } else if (tmp1 == 2) {
88 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/datatypes/
H A Ddatatypes.cpp43 sc_biguint<4> tmp1; local
65 tmp1 = in_value1.read();
71 if (tmp1.range(1,3) == 4) {
73 } else if (tmp1.range(3,1) == 4) {
76 out_value1.write(tmp1);
83 } else if ((bool)tmp1[1]==true) {
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/fsm/
H A Dfsm.cpp43 sc_biguint<4> tmp1; local
68 tmp1 = in_value1.read();
72 if (tmp1 == 4) {
79 } else if (tmp1 == 3) {
84 } else if (tmp1 == 2) {
89 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/if_test/
H A Dif_test.cpp43 sc_biguint<4> tmp1; local
67 tmp1 = in_value1.read();
74 if (tmp1 == 4) {
76 } else if (tmp1 == 3) {
78 } else if (tmp1 == 2) {
81 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/datatypes/
H A Ddatatypes.cpp46 sc_bigint<8> tmp1; local
98 tmp1 = in_value1.read();
108 tmp1r = tmp1 + tmp2 + (sc_bigint<1>)tmp1.range(0, 0) ; // ####
109 // tmp2r = tmp6 + tmp1 + int(tmp10[2]); // treat tmp10[2] as carry in
110 tmp2r = tmp6 + tmp1 + tmp10[2].to_bool(); // treat tmp10[2] as carry in
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/inlining/
H A Dinlining.cpp54 sc_biguint<4> tmp1; local
74 tmp1 = in_value1.read();
80 ++tmp1;
81 out_value1.write(MAXI(tmp1, tmp2));
82 my_print(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/datatypes/
H A Ddatatypes.cpp45 sc_bigint<8> tmp1; local
85 tmp1 = in_value1.read();
95 tmp1r = tmp1 - tmp2;
96 tmp2r = tmp6 - tmp1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/fsm/
H A Dfsm.cpp43 sc_biguint<4> tmp1; local
69 tmp1 = in_value1.read();
73 tmpint = tmp1.to_uint();
96 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/stars/star106015/
H A Dstar106015.cpp43 unsigned tmp1; local
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/datatypes/
H A Ddatatypes.cpp47 sc_bigint<8> tmp1; local
96 tmp1 = in_value1.read();
106 tmp1r = tmp1 << (tmp7[0] % 8);
110 tmp5r = tmp3 << ((unsigned int)(tmp1.to_int()) % 32);
127 tmp1r = tmp1 << (tmp7[0] % 8);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/sharing/
H A Dsharing.cpp47 sc_bigint<8> tmp1; local
96 tmp1 = in_value1.read();
106 tmp1r = tmp1 << (tmp7[0] % 8);
110 tmp5r = tmp3 << ((unsigned int)tmp1.to_int() % 32);
127 tmp1r = tmp1 << (tmp7[0] % 8);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shr/sharing/
H A Dsharing.cpp47 sc_bigint<8> tmp1; local
96 tmp1 = in_value1.read();
106 tmp1r = tmp1 >> (tmp7[0] % 9);
110 tmp5r = tmp3 >> (((unsigned int)tmp1.to_int()) % 32);
127 tmp1r = tmp1 >> (tmp7[0] % 9);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/or/datatypes/
H A Ddatatypes.cpp44 sc_bigint<8> tmp1; local
82 tmp1 = in_value1.read();
95 tmp1r = tmp1 | tmp2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/inlining/
H A Dinlining.cpp72 int tmp1; local
92 tmp1 = in_value1.read().to_int();
98 my_wait_case(tmp1, tmp3, tmp4);

Completed in 11 milliseconds

123