Searched refs:alignment (Results 26 - 50 of 78) sorted by relevance

1234

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_asm.s63 ! Assumes alignment is correct.
126 ! Assumes alignment is correct and that on_trap handling has been installed
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_asm_4u.s67 ! Assumes alignment is correct and that on_trap handling has been installed
130 ! Assumes alignment is correct and that on_trap handling has been installed
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s103 * go to sm_med ! tuned by alignment
227 * src/dst alignment, dst offset from the next 64 byte FPblock store
235 * points for each of the alignment choices.
238 * costs for each alignment when src&dst are in cache:
268 * some initial alignment activity of moving 0 to 3 bytes,
281 * disabled for that alignment choice.
292 * saves an alignment test, memory reference, and enabling test
305 * So we test the long word alignment case first, then
306 * the byte alignment, then halfword, then word alignment
[all...]
H A Dopl_olympus_copy.s99 * go to sm_med ! tuned by alignment
223 * src/dst alignment, dst offset from the next 64 byte FPblock store
231 * points for each of the alignment choices.
234 * costs for each alignment when src&dst are in cache:
264 * some initial alignment activity of moving 0 to 3 bytes,
276 * disabled for that alignment choice.
287 * saves an alignment test, memory reference, and enabling test
300 * So we test the long word alignment case first, then
301 * the byte alignment, then halfword, then word alignment
[all...]
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c158 #define MTMALLOC_MIN_ALIGN 8 /* min guaranteed alignment */
460 memalign(size_t alignment, size_t size) argument
467 if (size == 0 || alignment == 0 || misaligned(alignment) ||
468 (alignment & (alignment - 1)) != 0) {
474 if (alignment <= MTMALLOC_MIN_ALIGN)
477 alloc_size = size + alignment - MTMALLOC_MIN_ALIGN;
500 if ((offset = (uintptr_t)alloc_buf & (alignment - 1)) == 0) {
534 shift = alignment
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-channel.h183 * pre-set DMA mappings and/or alignment buffers.
469 xge_hal_check_alignment(dma_addr_t dma_pointer, int size, int alignment,
/illumos-gate/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemcpy.s244 .cpy_dbwdbc: ! alignment of src is needed
262 srl %g1, 3, %o0 ! retsote %o0 value for alignment
263 add %o5, %o0, %o5 ! restore src alignment
269 .dbcopybc: ! alignment of src is not needed
330 .mv_large_align8_copy: ! Src and dst share 8 byte alignment
354 ! Determine source alignment
778 or %o0, %o1, %o4 ! prepare alignment check
779 andcc %o4, 0x3, %o5 ! test for alignment
801 stb %o3, [%o0 + 1] ! don't know dst alignment
888 ! simple finish up byte copy, works with any alignment
[all...]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrcpy.s54 ! first checking the alignment of its source pointer. And,
57 ! for zero bytes, based upon destination alignment.
H A Dstrlcpy.s48 ! this method starts by checking for and arranging source alignment.
49 ! Once this has occurred, we copy based upon destination alignment.
H A Dstrncpy.s62 ! is copied based upon destination alignment. (byte, half-word,
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dwbuf.s58 ! a user alignment trap.
194 ! a user alignment trap.
395 ! a user alignment trap.
435 ! a RTT alignment trap.
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dwbuf.s57 ! a user alignment trap.
191 ! a user alignment trap.
333 ! a user alignment trap.
370 ! a RTT alignment trap.
H A Dmach_copy.s208 ! Check for block alignment
213 ! Check for double-word alignment
218 ! Check for word alignment
368 ! Check for word alignment.
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.s142 ! check for src long word alignment
144 andcc %o1, 7, %g0 ! chk src long word alignment
330 ! adjust instruction alignment
332 nop ! icache alignment and performance
341 or %o0, %o1, %o3 ! prepare alignment check
342 andcc %o3, 0x3, %g0 ! test for alignment
378 nop ! affects loop icache alignment
451 andcc %o1, 0x3, %g0 ! test alignment
464 andcc %o1, 0x7, %g0 ! test word alignment
618 ! Then, if large case, o5 is replaced by count for block alignment
[all...]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.s135 ! check for src long word alignment
137 andcc %o1, 7, %g0 ! chk src long word alignment
353 ! adjust instruction alignment
355 nop ! icache alignment and performance
362 or %o0, %o1, %o3 ! prepare alignment check
363 andcc %o3, 0x3, %g0 ! test for alignment
399 nop ! affects loop icache alignment
470 andcc %o1, 0x3, %g0 ! test alignment
482 andcc %o1, 0x7, %g0 ! test word alignment
635 ! Then, if large case, o5 is replaced by count for block alignment
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c561 u32_t alignment,
593 dmaAttrib.dma_attr_align = alignment;
599 size += (alignment - 1);
600 size &= ~((u32_t)(alignment - 1));
602 MEM_LOG(pUM, "*** DMA: %8u (%4d) - %8u", memSize, alignment, size);
660 (!((u32_t)pBuf % (u32_t)alignment)) ? 1 : 0,
661 (!((u32_t)pPhysAddr->as_ptr % (u32_t)alignment) ? 1 : 0));
558 mm_alloc_phys_mem_align_imp(lm_device_t * pLM, u32_t memSize, lm_address_t * pPhysAddr, u32_t alignment, u8_t memType, const char * sz_file, const unsigned long line, u8_t cli_idx) argument
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_hcall.s677 ! Assumes 8 byte data and that alignment is correct.
683 ! ATTN: Be sure that the alignment value is larger than the size of
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_gem.c1218 i915_gem_object_bind_to_gtt(struct drm_gem_object *obj, uint32_t alignment) argument
1228 if (alignment == 0)
1229 alignment = PAGE_SIZE;
1230 if (alignment & (PAGE_SIZE - 1)) {
1231 DRM_ERROR("Invalid object alignment requested %u\n", alignment);
1241 (unsigned long) obj->size, alignment, 0);
1244 alignment);
1749 ret = i915_gem_object_pin(obj, (uint32_t) entry->alignment);
1916 DRM_ERROR("alignment\
2226 i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment) argument
[all...]
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.s172 ! if low-order bit is 1, we will properly get an alignment fault here
371 ! if low-order bit is 1, we will properly get an alignment fault here
493 ! if low-order bit is 1, we will properly get an alignment fault here
605 ! if low-order bit is 1, we will properly get an alignment fault here
684 ! if low-order bit is 1, we will properly get an alignment fault here
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s144 ! with odd alignment between source and destnation
226 mov 24, %l0 ! initial shift alignment count
289 mov 3, %o0 ! mask for word alignment
291 mov 7, %o0 ! mask for double alignment
328 ! byte copy, works with any alignment
335 ! differenced byte copy, works with any alignment
370 btst %o0, %i0 ! %o0 is bit mask to check for alignment
556 * If count is > SMALL_LIMIT, we check the alignment of the input
691 ! %o3 = %o1 | %o2 (used for alignment checking)
H A Dniagara_copy.s125 * determine dst alignment, move minimum bytes/halfwords to
137 * move final 0-31 bytes according to src alignment; go to short_exit
756 andcc %o0, 7, %o3 ! check for src long word alignment
761 ! Following code is to select for alignment
762 andcc %o0, 0x3, %o3 ! test word alignment
765 andcc %o0, 0x1, %o3 ! test halfword alignment
767 andcc %o0, 0x2, %o3 ! test which byte alignment
1216 ! Determine source alignment
1568 ! destination alignment code
1613 ! Move bytes according to source alignment
[all...]
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.s293 ! if low-order bit is 1, we will properly get an alignment fault here
496 ! if low-order bit is 1, we will properly get an alignment fault here
622 ! if low-order bit is 1, we will properly get an alignment fault here
738 ! if low-order bit is 1, we will properly get an alignment fault here
810 ! if low-order bit is 1, we will properly get an alignment fault here
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcpy.s54 ! source alignment and copying byte, half byte, or word
57 ! checking for zero bytes, depending upon its dst ptr alignment.
H A Dstrcmp.s55 ! alignment of the destination string. If it is possible to
/illumos-gate/usr/src/common/crypto/sha2/amd64/
H A Dsha512-x86_64.pl249 /nop / .picmeup generates a nop for mod 8 alignment--not needed here

Completed in 159 milliseconds

1234