Displaying 4 results from an estimated 4 matches for "_rotr".
Did you mean:
rotr
2012 Jul 29
0
[LLVMdev] rotate
...mpile with (assuming you are on OS X):
======
ISYSROOT=$(xcodebuild -sdk macosx -version PlatformPath)/Developer/SDKs/MacOSX10.8.sdk
$(xcrun -find clang) -isysroot $ISYSROOT ror.c -c -S -Os -o -
======
yielding an assembly output of:
======
.section __TEXT,__text,regular,pure_instructions
.globl _rotr
_rotr: ## @rotr
.cfi_startproc
## BB#0:
pushq %rbp
Ltmp2:
.cfi_def_cfa_offset 16
Ltmp3:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp4:
.cfi_def_cfa_register %rbp
movb %sil, %cl
rorl %cl, %edi <==== Rotate instruction
movl %edi,...
2012 Jul 29
2
[LLVMdev] rotate
in C or C++, how can I get clang/llvm to try and do a "rotate".
(want to test this code in the mips16 port)
i.e. emit rotr node.
tia.
reed
2012 Jul 29
3
[LLVMdev] rotate
...======
> ISYSROOT=$(xcodebuild -sdk macosx -version PlatformPath)/Developer/SDKs/MacOSX10.8.sdk
> $(xcrun -find clang) -isysroot $ISYSROOT ror.c -c -S -Os -o -
> ======
>
> yielding an assembly output of:
> ======
> .section __TEXT,__text,regular,pure_instructions
> .globl _rotr
> _rotr: ## @rotr
> .cfi_startproc
> ## BB#0:
> pushq %rbp
> Ltmp2:
> .cfi_def_cfa_offset 16
> Ltmp3:
> .cfi_offset %rbp, -16
> movq %rsp, %rbp
> Ltmp4:
> .cfi_def_cfa_register %rbp
> movb %sil, %cl
> rorl %cl, %edi<...
2012 Jul 29
0
[LLVMdev] rotate
...uild -sdk macosx -version PlatformPath)/Developer/SDKs/MacOSX10.8.sdk
>> $(xcrun -find clang) -isysroot $ISYSROOT ror.c -c -S -Os -o -
>> ======
>>
>> yielding an assembly output of:
>> ======
>> .section __TEXT,__text,regular,pure_instructions
>> .globl _rotr
>> _rotr: ## @rotr
>> .cfi_startproc
>> ## BB#0:
>> pushq %rbp
>> Ltmp2:
>> .cfi_def_cfa_offset 16
>> Ltmp3:
>> .cfi_offset %rbp, -16
>> movq %rsp, %rbp
>> Ltmp4:
>> .cfi_def_cfa_register %rbp
&...