Home
last modified time | relevance | path

Searched refs:w2 (Results 1 – 25 of 220) sorted by relevance

123456789

/external/valgrind/none/tests/amd64/
Dbmi.c858 ULong w1, w2; in main() local
861 w2 = 0x57657438291CDEF0ULL; in main()
865 do_andn64(&flags, &res, w1, w2); in main()
866 printf("andn64 %016llx %016llx -> %016llx %04x\n", w1, w2, res, flags); in main()
869 w2 = ((w2 >> 2) | (w2 >> 1)) + (w2 / 17ULL); in main()
873 w2 = 0x57657438291CDEF0ULL; in main()
877 do_andn32(&flags, &res, w1, w2); in main()
878 printf("andn32 %016llx %016llx -> %016llx %04x\n", w1, w2, res, flags); in main()
881 w2 = ((w2 >> 2) | (w2 >> 1)) + (w2 / 17ULL); in main()
885 w2 = 0x57657438291CDEF0ULL; in main()
[all …]
/external/llvm/test/MC/AArch64/
Darm64-logical-encoding.s10 and w1, w2, #15
15 ands w1, w2, #15
20 ; CHECK: and w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x12]
25 ; CHECK: ands w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x72]
28 eor w1, w2, #0x4000
31 ; CHECK: eor w1, w2, #0x4000 ; encoding: [0x41,0x00,0x12,0x52]
34 orr w1, w2, #0x4000
37 ; CHECK: orr w1, w2, #0x4000 ; encoding: [0x41,0x00,0x12,0x32]
50 and w1, w2, w3
52 and w1, w2, w3, lsl #2
[all …]
Darm64-arithmetic-encoding.s8 adc w1, w2, w3
13 ; CHECK: adc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x1a]
18 sbc w1, w2, w3
20 sbcs w1, w2, w3
23 ; CHECK: sbc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x5a]
25 ; CHECK: sbcs w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x7a]
170 add w1, w2, w3, uxtb
171 add w1, w2, w3, uxth
172 add w1, w2, w3, uxtw
173 add w1, w2, w3, uxtx
[all …]
Dbasic-a64-diagnostics.s10 add x2, x4, w2, uxtx
51 adds sp, x3, w2, uxtb
97 add w2, w3, #0x1, lsl #1
133 add xsp, w2, #123
134 sub w2, x30, #32
184 add wsp, w1, w2, lsr #3
197 add w1, w2, w3, lsl #-1
198 add w1, w2, w3, lsl #32
199 add w1, w2, w3, lsr #-1
200 add w1, w2, w3, lsr #32
[all …]
Darm64-bitfield-encoding.s8 bfm w1, w2, #1, #15
10 sbfm w1, w2, #1, #15
12 ubfm w1, w2, #1, #15
19 ; CHECK: bfxil w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x33]
21 ; CHECK: sbfx w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x13]
23 ; CHECK: ubfx w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x53]
34 extr w1, w2, w3, #15
37 ; CHECK: extr w1, w2, w3, #15 ; encoding: [0x41,0x3c,0x83,0x13]
Darm64-memory.s18 ldrb w2, [x3, _foo@pageoff]
22 ldrh w2, [sp, #32]
53 ; CHECK: ldrb w2, [x3, _foo@PAGEOFF] ; encoding: [0x62,0bAAAAAA00,0b01AAAAAA,0x39]
57 ; CHECK: ldrh w2, [sp, #32] ; encoding: [0xe2,0x43,0x40,0x79]
91 strh w2, [sp, #32]
103 ; CHECK: strh w2, [sp, #32] ; encoding: [0xe2,0x43,0x00,0x79]
109 ldur w2, [x3]
110 ldur w2, [sp, #24]
124 ; CHECK: ldur w2, [x3] ; encoding: [0x62,0x00,0x40,0xb8]
125 ; CHECK: ldur w2, [sp, #24] ; encoding: [0xe2,0x83,0x41,0xb8]
[all …]
Darm64-aliases.s29 orr w2, wzr, w9
30 ; CHECK: mov w2, w9
41 tst w1, w2
43 ands wzr, w1, w2, lsl #2
50 ; CHECK: tst w1, w2 ; encoding: [0x3f,0x00,0x02,0x6a]
52 ; CHECK: tst w1, w2, lsl #2 ; encoding: [0x3f,0x08,0x02,0x6a]
232 sxtb w1, w2
233 sxth w1, w2
234 uxtb w1, w2
235 uxth w1, w2
[all …]
Dinline-asm-modifiers.s83 mov w2, w0
85 add w2, w2, w2
87 mov w2, w0
89 add w2, w2, w2
Dalias-logicalimm.s30 orr w2, w1, #~3
31 orn w2, w1, #3
40 eor w2, w1, #~3
41 eon w2, w1, #3
/external/openfst/src/include/fst/
Dfloat-weight.h114 const FloatWeightTpl<T> &w2) {
118 volatile T v2 = w2.Value();
123 const FloatWeightTpl<double> &w2) {
124 return operator==<double>(w1, w2);
128 const FloatWeightTpl<float> &w2) {
129 return operator==<float>(w1, w2);
134 const FloatWeightTpl<T> &w2) {
135 return !(w1 == w2);
139 const FloatWeightTpl<double> &w2) {
140 return operator!=<double>(w1, w2);
[all …]
Dstring-weight.h297 const StringWeight<L, S> &w2) {
298 if (w1.Size() != w2.Size())
302 StringWeightIterator<L, S> iter2(w2);
313 const StringWeight<L, S> &w2) {
314 return !(w1 == w2);
319 const StringWeight<L, S> &w2,
321 return w1 == w2;
371 const StringWeight<L, S> &w2) { in Plus() argument
372 if (!w1.Member() || !w2.Member()) in Plus()
375 return w2; in Plus()
[all …]
Dsigned-log-weight.h109 const SignedLogWeightTpl<T> &w2) { in Plus() argument
110 if (!w1.Member() || !w2.Member()) in Plus()
113 bool s2 = w2.Value1().Value() > 0.0; in Plus()
115 T f2 = w2.Value2().Value(); in Plus()
117 return w2; in Plus()
131 w2.Value1(), (f2 - log(1.0F - exp(f2 - f1)))); in Plus()
136 w2.Value1(), (f1 - log(1.0F + exp(f1 - f2)))); in Plus()
146 const SignedLogWeightTpl<T> &w2) { in Minus() argument
147 SignedLogWeightTpl<T> minus_w2(-w2.Value1().Value(), w2.Value2()); in Minus()
153 const SignedLogWeightTpl<T> &w2) { in Times() argument
[all …]
Dsparse-power-weight.h151 const SparsePowerWeight<W, K> &w2) { in Plus() argument
154 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); in Plus()
161 const SparsePowerWeight<W, K> &w2) { in Times() argument
164 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); in Times()
171 const SparsePowerWeight<W, K> &w2,
175 SparseTupleWeightMap(&ret, w1, w2, operator_mapper);
182 const SparsePowerWeight<W, K> &w2) { in DotProduct() argument
183 const SparsePowerWeight<W, K>& product = Times(w1, w2); in DotProduct()
193 const SparsePowerWeight<W, K> &w2,
197 SparseTupleWeightMap(&ret, w1, w2, operator_mapper);
[all …]
Dpair-weight.h54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in PairWeight() argument
136 W2 w2 = W2::Zero(); in ReadNoParen() local
137 strm >> w2; in ReadNoParen()
139 w = PairWeight<W1, W2>(w1, w2); in ReadNoParen()
199 W2 w2 = W2::Zero(); in ReadWithParen() local
200 strm2 >> w2; in ReadWithParen()
202 w = PairWeight<W1, W2>(w1, w2); in ReadWithParen()
220 const PairWeight<W1, W2> &w2) {
221 return w1.Value1() != w2.Value1() || w1.Value2() != w2.Value2();
227 const PairWeight<W1, W2> &w2,
[all …]
Dpower-weight.h100 const PowerWeight<W, n> &w2) { in Plus() argument
103 w.SetValue(i, Plus(w1.Value(i), w2.Value(i))); in Plus()
110 const PowerWeight<W, n> &w2) { in Times() argument
113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); in Times()
120 const PowerWeight<W, n> &w2,
124 w.SetValue(i, Divide(w1.Value(i), w2.Value(i), type));
149 const PowerWeight<W, n> &w2) { in DotProduct() argument
152 w = Plus(w, Times(w1.Value(i), w2.Value(i))); in DotProduct()
/external/openfst/src/test/
Dweight-tester.h43 Weight w2 = weight_generator_(); variable
48 VLOG(1) << "w2 = " << w2;
51 TestSemiring(w1, w2, w3);
53 TestDivision(w1, w2);
54 TestReverse(w1, w2);
55 TestEquality(w1, w2, w3);
66 void TestSemiring(Weight w1, Weight w2, Weight w3) { in TestSemiring() argument
68 CHECK(Plus(w1, w2).Member()); in TestSemiring()
69 CHECK(Times(w1, w2).Member()); in TestSemiring()
72 CHECK(ApproxEqual(Plus(w1, Plus(w2, w3)), Plus(Plus(w1, w2), w3))); in TestSemiring()
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-logical.txt20 # CHECK: and w1, w2, #0xf
25 # CHECK: ands w1, w2, #0xf
33 # CHECK: eor w1, w2, #0x4000
41 # CHECK: orr w1, w2, #0x4000
60 # CHECK: and w1, w2, w3
62 # CHECK: and w1, w2, w3, lsl #2
64 # CHECK: and w1, w2, w3, lsr #2
66 # CHECK: and w1, w2, w3, asr #2
68 # CHECK: and w1, w2, w3, ror #2
82 # CHECK: ands w1, w2, w3
[all …]
Darm64-arithmetic.txt12 # CHECK: adc w1, w2, w3
22 # CHECK: sbc w1, w2, w3
24 # CHECK: sbcs w1, w2, w3
173 # CHECK: add w1, w2, w3, uxtb
174 # CHECK: add w1, w2, w3, uxth
175 # CHECK: add w1, w2, w3
176 # CHECK: add w1, w2, w3, uxtx
177 # CHECK: add w1, w2, w3, sxtb
178 # CHECK: add w1, w2, w3, sxth
179 # CHECK: add w1, w2, w3, sxtw
[all …]
/external/tcpdump/
Dprint-tipc.c82 #define TIPC_LINK_ACK(w2) (((w2) >> 16) & 0xFFFF) argument
83 #define TIPC_LINK_SEQ(w2) (((w2) >> 0) & 0xFFFF) argument
118 u_int32_t w2; member
132 u_int32_t w2; member
143 #define TIPC_BC_GAP_AFTER(w2) (((w2) >> 16) & 0xFFFF) argument
144 #define TIPC_BC_GAP_TO(w2) (((w2) >> 0) & 0xFFFF) argument
167 u_int32_t w0, w1, w2; in print_payload() local
215 w2 = EXTRACT_32BITS(&ap->w2); in print_payload()
216 link_ack = TIPC_LINK_ACK(w2); in print_payload()
217 link_seq = TIPC_LINK_SEQ(w2); in print_payload()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
Downer_less.pass.cpp43 const std::weak_ptr<int> w2(p2); in main() local
59 assert(!cs(p1, w2)); in main()
62 assert(cs(p3, w1) == cs(p3, w2)); in main()
72 assert(!cs(w1, w2)); in main()
73 assert(!cs(w2, w1)); in main()
75 assert(cs(w3, w1) == cs(w3, w2)); in main()
78 assert(!cs(w2, p1)); in main()
/external/valgrind/coregrind/m_dispatch/
Ddispatch-arm64-linux.S181 ldr w2, [x1, #0]
182 add w2, w2, #1
183 str w2, [x1, #0]
208 ldr w2, [x1, #0]
209 add w2, w2, #1
210 str w2, [x1, #0]
/external/llvm/test/MC/Mips/msa/
Dtest_cbranch.s7 #CHECK: bnz.w $w2, 128 # encoding: [0x47,0xc2,0x00,0x20]
16 #CHECK: bnz.w $w2, SYMBOL2 # encoding: [0x47,0xc2,A,A]
33 #CHECK: bz.w $w2, 512 # encoding: [0x47,0x42,0x00,0x80]
43 #CHECK: bz.w $w2, SYMBOL2 # encoding: [0x47,0x42,A,A]
58 bnz.w $w2, 128
62 bnz.w $w2, SYMBOL2
70 bz.w $w2, 512
74 bz.w $w2, SYMBOL2
Dtest_3r.s14 # CHECK: adds_s.d $w2, $w14, $w28 # encoding: [0x79,0x7c,0x70,0x90]
22 # CHECK: addv.d $w2, $w21, $w31 # encoding: [0x78,0x7f,0xa8,0x8e]
31 # CHECK: ave_s.b $w2, $w5, $w1 # encoding: [0x7a,0x01,0x28,0x90]
39 # CHECK: aver_s.b $w26, $w16, $w2 # encoding: [0x7b,0x02,0x86,0x90]
47 # CHECK: bclr.b $w2, $w15, $w29 # encoding: [0x79,0x9d,0x78,0x8d]
49 # CHECK: bclr.w $w19, $w2, $w9 # encoding: [0x79,0xc9,0x14,0xcd]
55 # CHECK: binsr.b $w22, $w11, $w2 # encoding: [0x7b,0x82,0x5d,0x8d]
79 # CHECK: clt_s.b $w25, $w2, $w21 # encoding: [0x79,0x15,0x16,0x4f]
80 # CHECK: clt_s.h $w2, $w19, $w9 # encoding: [0x79,0x29,0x98,0x8f]
83 # CHECK: clt_u.b $w2, $w31, $w13 # encoding: [0x79,0x8d,0xf8,0x8f]
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Downer_before_weak_ptr.pass.cpp25 const std::weak_ptr<int> w2(p2); in main() local
27 assert(!w1.owner_before(w2)); in main()
28 assert(!w2.owner_before(w1)); in main()
30 assert(w3.owner_before(w1) == w3.owner_before(w2)); in main()
/external/vixl/examples/
Dadd2-vectors.cc52 __ Cmp(w2, 16); in GenerateAdd2Vectors()
54 __ Sub(w2, w2, 16); in GenerateAdd2Vectors()
68 __ Cbz(w2, &end); in GenerateAdd2Vectors()
69 __ Sub(w2, w2, 1); in GenerateAdd2Vectors()

123456789