Home
last modified time | relevance | path

Searched refs:unaligned (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST()
29 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval))); in TEST()
31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST()
32 (endian::read<int32_t, little, unaligned>(littleval + 1))); in TEST()
40 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)), in TEST()
42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST()
49 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)), in TEST()
51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)), in TEST()
55 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)), in TEST()
57 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)), in TEST()
[all …]
/external/llvm/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST()
29 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval))); in TEST()
31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST()
32 (endian::read<int32_t, little, unaligned>(littleval + 1))); in TEST()
40 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)), in TEST()
42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST()
49 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)), in TEST()
51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)), in TEST()
55 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)), in TEST()
57 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)), in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DEndian.h25 enum alignment {unaligned, aligned}; enumerator
42 struct alignment_access_helper<value_type, unaligned>
96 class packed_endian_specific_integral<value_type, little, unaligned> {
99 return endian::read_le<value_type, unaligned>(Value);
106 class packed_endian_specific_integral<value_type, big, unaligned> {
109 return endian::read_be<value_type, unaligned>(Value);
138 <uint8_t, little, unaligned> ulittle8_t;
140 <uint16_t, little, unaligned> ulittle16_t;
142 <uint32_t, little, unaligned> ulittle32_t;
144 <uint64_t, little, unaligned> ulittle64_t;
[all …]
/external/llvm/test/MC/AArch64/
Dfixup-out-of-range.s10 ldr x0, unaligned
16 b.eq unaligned
22 ldr x0, [x1, unaligned-.]
28 ldr w0, [x1, unaligned-.]
34 ldrh w0, [x1, unaligned-.]
43 ldr q0, [x1, unaligned-.]
49 tbz x0, #1, unaligned
55 b unaligned
58 unaligned: label
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/
Dfixup-out-of-range.s11 ldr x0, unaligned
17 b.eq unaligned
23 ldr x0, [x1, unaligned-.]
29 ldr w0, [x1, unaligned-.]
35 ldrh w0, [x1, unaligned-.]
44 ldr q0, [x1, unaligned-.]
50 tbz x0, #1, unaligned
56 b unaligned
59 unaligned: label
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h25 enum {aligned = 0, unaligned = 1}; enumerator
233 <uint16_t, little, unaligned> ulittle16_t;
235 <uint32_t, little, unaligned> ulittle32_t;
237 <uint64_t, little, unaligned> ulittle64_t;
240 <int16_t, little, unaligned> little16_t;
242 <int32_t, little, unaligned> little32_t;
244 <int64_t, little, unaligned> little64_t;
261 <uint16_t, big, unaligned> ubig16_t;
263 <uint32_t, big, unaligned> ubig32_t;
265 <uint64_t, big, unaligned> ubig64_t;
[all …]
/external/llvm/include/llvm/Support/
DEndian.h26 enum {aligned = 0, unaligned = 1}; enumerator
234 <uint16_t, little, unaligned> ulittle16_t;
236 <uint32_t, little, unaligned> ulittle32_t;
238 <uint64_t, little, unaligned> ulittle64_t;
241 <int16_t, little, unaligned> little16_t;
243 <int32_t, little, unaligned> little32_t;
245 <int64_t, little, unaligned> little64_t;
262 <uint16_t, big, unaligned> ubig16_t;
264 <uint32_t, big, unaligned> ubig32_t;
266 <uint64_t, big, unaligned> ubig64_t;
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read_be<int32_t, unaligned>(big))); in TEST()
29 EXPECT_EQ(LittleAsHost, (endian::read_le<int32_t, unaligned>(little))); in TEST()
31 EXPECT_EQ((endian::read_be<int32_t, unaligned>(big + 1)), in TEST()
32 (endian::read_le<int32_t, unaligned>(little + 1))); in TEST()
37 endian::write_be<int32_t, unaligned>(data, -1362446643); in TEST()
42 endian::write_be<int32_t, unaligned>(data + 1, -1362446643); in TEST()
48 endian::write_le<int32_t, unaligned>(data, -1362446643); in TEST()
53 endian::write_le<int32_t, unaligned>(data + 1, -1362446643); in TEST()
/external/u-boot/doc/
DREADME.unaligned-memory-access.txt9 unaligned accesses, why you need to write code that doesn't cause them,
13 The definition of an unaligned access
19 reading 4 bytes of data from address 0x10005 would be an unaligned memory
46 Why unaligned access is bad
49 The effects of performing an unaligned memory access vary from architecture
53 - Some architectures are able to perform unaligned memory accesses
55 - Some architectures raise processor exceptions when unaligned accesses
56 happen. The exception handler is able to correct the unaligned access,
58 - Some architectures raise processor exceptions when unaligned accesses
60 unaligned access to be corrected.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DEndian.h33 enum {aligned = 0, unaligned = 1}; enumerator
269 detail::packed_endian_specific_integral<uint16_t, little, unaligned>;
271 detail::packed_endian_specific_integral<uint32_t, little, unaligned>;
273 detail::packed_endian_specific_integral<uint64_t, little, unaligned>;
276 detail::packed_endian_specific_integral<int16_t, little, unaligned>;
278 detail::packed_endian_specific_integral<int32_t, little, unaligned>;
280 detail::packed_endian_specific_integral<int64_t, little, unaligned>;
297 detail::packed_endian_specific_integral<uint16_t, big, unaligned>;
299 detail::packed_endian_specific_integral<uint32_t, big, unaligned>;
301 detail::packed_endian_specific_integral<uint64_t, big, unaligned>;
[all …]
/external/elfutils/libcpu/
Dmemory-access.h84 union unaligned union
98 const union unaligned *up = p; in read_2ubyte_unaligned()
106 const union unaligned *up = p; in read_2sbyte_unaligned()
115 const union unaligned *up = p; in read_4ubyte_unaligned_noncvt()
121 const union unaligned *up = p; in read_4ubyte_unaligned()
129 const union unaligned *up = p; in read_4sbyte_unaligned()
138 const union unaligned *up = p; in read_8ubyte_unaligned()
146 const union unaligned *up = p; in read_8sbyte_unaligned()
/external/llvm/test/CodeGen/Mips/
Dswzero.ll3 %struct.unaligned = type <{ i32 }>
5 define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
9 %x = getelementptr inbounds %struct.unaligned, %struct.unaligned* %p, i32 0, i32 0
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Dswzero.ll3 %struct.unaligned = type <{ i32 }>
5 define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
9 %x = getelementptr inbounds %struct.unaligned, %struct.unaligned* %p, i32 0, i32 0
/external/virglrenderer/src/gallium/auxiliary/util/
Du_pointer.h85 align_pointer( const void *unaligned, uintptr_t alignment ) in align_pointer() argument
87 uintptr_t aligned = (pointer_to_uintptr( unaligned ) + alignment - 1) & ~(alignment - 1); in align_pointer()
96 align16( void *unaligned ) in align16() argument
98 return align_pointer( unaligned, 16 ); in align16()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pointer.h85 align_pointer( const void *unaligned, uintptr_t alignment ) in align_pointer() argument
87 uintptr_t aligned = (pointer_to_uintptr( unaligned ) + alignment - 1) & ~(alignment - 1); in align_pointer()
96 align16( void *unaligned ) in align16() argument
98 return align_pointer( unaligned, 16 ); in align16()
/external/elfutils/libdw/
Dmemory-access.h201 union unaligned union
228 const union unaligned *up = p; in read_2ubyte_unaligned_1()
236 const union unaligned *up = p; in read_2sbyte_unaligned_1()
245 const union unaligned *up = p; in read_4ubyte_unaligned_noncvt()
251 const union unaligned *up = p; in read_4ubyte_unaligned_1()
259 const union unaligned *up = p; in read_4sbyte_unaligned_1()
268 const union unaligned *up = p; in read_8ubyte_unaligned_noncvt()
274 const union unaligned *up = p; in read_8ubyte_unaligned_1()
282 const union unaligned *up = p; in read_8sbyte_unaligned_1()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dint-move-09.ll89 ; Repeat f1 with an unaligned variable.
100 ; Repeat f2 with an unaligned variable.
111 ; Repeat f3 with an unaligned variable.
122 ; Repeat f4 with an unaligned variable.
133 ; Repeat f5 with an unaligned variable.
144 ; Repeat f6 with an unaligned variable.
155 ; Repeat f7 with unaligned variables.
Dunaligned-01.ll1 ; Check that unaligned accesses are allowed in general. We check the
22 ; Check that unaligned 2-byte accesses are allowed.
33 ; Check that unaligned 4-byte accesses are allowed.
47 ; Check that unaligned 8-byte accesses are allowed.
/external/llvm/test/CodeGen/SystemZ/
Dint-move-09.ll89 ; Repeat f1 with an unaligned variable.
100 ; Repeat f2 with an unaligned variable.
111 ; Repeat f3 with an unaligned variable.
122 ; Repeat f4 with an unaligned variable.
133 ; Repeat f5 with an unaligned variable.
144 ; Repeat f6 with an unaligned variable.
155 ; Repeat f7 with unaligned variables.
Dunaligned-01.ll1 ; Check that unaligned accesses are allowed in general. We check the
25 ; Check that unaligned 2-byte accesses are allowed.
36 ; Check that unaligned 4-byte accesses are allowed.
50 ; Check that unaligned 8-byte accesses are allowed.
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/RISCV/
Dfixups-diagnostics.s4 jal a0, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned
7 blt t0, t1, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned
10 unaligned: label
/external/vulkan-validation-layers/build-android/
Dbuild_all.sh53 …xml -I "$ANDROID_SDK_HOME/platforms/android-26/android.jar" -S res -F bin/$1-unaligned.apk bin/libs
55 …e ~/.android/debug.keystore -storepass android -keypass android bin/$1-unaligned.apk androiddebug…
56 zipalign -f 4 bin/$1-unaligned.apk bin/$1.apk
/external/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll86 ; CHECK: @globalptr.align1{{.*}}(unaligned)
92 ; CHECK: %dparam.align1{{.*}}(unaligned)
98 ; CHECK: %alloca.align1{{.*}}(unaligned)
106 ; CHECK: %gep.align1.offset1{{.*}}(unaligned)
107 ; CHECK: %gep.align16.offset1{{.*}}(unaligned)
108 ; CHECK: %gep.align1.offset16{{.*}}(unaligned)
120 ; CHECK: %deref_return{{.*}}(unaligned)
130 ; CHECK: %d4_unaligned_load{{.*}}(unaligned)
/external/boringssl/src/ssl/test/runner/poly1305/
Dpoly1305_test.go50 func testSum(t *testing.T, unaligned bool, sumImpl func(tag *[TagSize]byte, msg []byte, key *[32]by…
54 if unaligned {
103 func benchmark(b *testing.B, size int, unaligned bool) {
107 if unaligned {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll103 ; CHECK: @globalptr.align1{{.*}}(unaligned)
109 ; CHECK: %dparam.align1{{.*}}(unaligned)
127 ; CHECK: %alloca.align1{{.*}}(unaligned)
135 ; CHECK: %gep.align1.offset1{{.*}}(unaligned)
136 ; CHECK: %gep.align16.offset1{{.*}}(unaligned)
137 ; CHECK: %gep.align1.offset16{{.*}}(unaligned)
149 ; CHECK: %deref_return{{.*}}(unaligned)
159 ; CHECK: %d4_unaligned_load{{.*}}(unaligned)

12345678910>>...15