代码搜索:shift
找到约 10,000 项符合「shift」的源代码
代码结果 10,000
www.eeworm.com/read/168845/5434224
rst shift_right.rst
.. Metafunctions/Bitwise Operations//shift_right
shift_right
===========
Synopsis
--------
.. parsed-literal::
template<
typename T
, typename Shift
www.eeworm.com/read/162614/5519019
c shift1.c
// PR c++/18140
template struct IntHolder {
static const int value = N;
};
template struct ShrIntHolder {
static const int value = IntHolder< N>>S >::value;
};
www.eeworm.com/read/347503/3170029
s shift-2.s
! Check that shift expressions translate to the proper reloc for MOVI and
! SHORI for local and external symbols. This is the 64-bit subset.
.text
.mode SHmedia
start:
movi (localsym >> 32) & 6553
www.eeworm.com/read/347503/3170040
s shift-1.s
! Check that shift expressions translate to the proper reloc for MOVI and
! SHORI for local and external symbols. This is the 32-bit subset.
.text
.mode SHmedia
start:
movi localsym & 65535,r4
mo
www.eeworm.com/read/347503/3170077
s shift-3.s
! This should not get an internal error and it should emit the expected
! relocs, even though the symbol looks local and is undefined.
.text
.mode SHmedia
start:
movi .LC0 & 65535, r1
movi (.LC0 >
www.eeworm.com/read/347503/3170802
s shift_insn.s
# Shift instructions.
.data
foodata: .word 42
.text
footext:
.global sllb
sllb:
sllb $7 , r1
sllb r2 , r3
.global srlb
srlb:
srlb $0x5 , r4
srlb r5 , r6
.global srab
srab:
srab $04 , r7
srab
www.eeworm.com/read/347503/3170807
d shift_insn.d
#as:
#objdump: -dr
#name: shift_insn
.*: +file format .*
Disassembly of section .text:
00000000 :
0: 71 fc sllb \$0x7, r1
2: 23 4d sllb r2, r3
00000004 :
4: d4 f
www.eeworm.com/read/347503/3171154
s shift2.s
.code
.align 4
; PA 2.0 format shift right instruction tests.
;
; We could/should test some of the corner cases for register and
; immediate fields. We should also check the assorted field
; sel
www.eeworm.com/read/347503/3171160
s shift3.s
.LEVEL 2.0
.code
.align 4
; PA 2.0 shift right instruction tests.
;
; We could/should test some of the corner cases for register and
; immediate fields. We should also check the assorted field
www.eeworm.com/read/341021/3259222
c cart_shift.c
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpiimpl.h"
#include "topo.h"
/* -- Begin Prof