Displaying 20 results from an estimated 121 matches for "subq".
Did you mean:
sub
2006 Dec 06
1
Bug and patch for +terms with wildcards
...to fix this issue, but it requires the
introduction of a new query operator, to mark a query as matching no
documents (as opposed to a query created with the default query
constructor, which represents an undefined query). I've called this
operator "OP_MATCH_NOTHING", and it takes no subqueries.
I believe this should be public, since it may be useful for people trying
to write their own query parsers, rather than relying on the builtin query
parser.
It's possible that a similar approach would be a neat solution for
representing "alldocument" queries. Currently, a sp...
2013 Sep 05
2
[LLVMdev] CFI Directives
...ing like this:
.cfi_startproc
Lfunc_begin175:
pushq %rbp
Ltmp1532:
.cfi_def_cfa_offset 16
Ltmp1533:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp1534:
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $3224, %rsp ## imm = 0xC98
Ltmp1535:
.cfi_offset %rbx, -40
Ltmp1536:
.cfi_offset %r14, -32
Ltmp1537:
.cfi_offset %r15, -24
I need to be able to know that `%rsp' was adjusted by 3224. However, there are no CFI directives that encode this information. Is th...
2010 Aug 03
3
[LLVMdev] Purpose of PROLOG_LABEL in function prologue?
I've been building/dumping some x86_64 code and I've noticed that each of the routines has 3 temporary symbols, à la:
_main:
pushq %rbp
Ltmp18:
movq %rsp, %rbp
Ltmp19:
subq $320, %rsp
Ltmp20:
movl %ecx, -276(%rbp)
I've tracked them back to emitPrologue in X86RegisterInfo.cpp. I'm wonder what's their purpose?
They're filling up my symbol table...
Cameron Esfahani
dirty at apple.com
"All that is necessary for the triumph of evil is that good m...
2010 Sep 01
5
[LLVMdev] equivalent IR, different asm
...egular,pure_instructions
.globl __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE
.align 4, 0x90
__ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE: ## @_ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE
## BB#0:
pushq %r14
pushq %rbx
subq $8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
movq %rcx, %rsi
callq __ZN7WebCore4viziEPKNS_20RenderBoxModelObjectEPNS_10StyleImageE
movq %rax, %rcx
shrq $32, %rcx
testl %ecx, %ecx
je LBB0_2
## BB#1:
imull (%rbx), %eax
cltd
idivl %ecx
movl %eax, (%r14)
LBB0_2:
addq $8, %rsp...
2010 Sep 01
0
[LLVMdev] equivalent IR, different asm
...bl __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE
> .align 4, 0x90
> __ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE: ## @_ZN7WebCore6kolos1ERiS0_PKNS_20RenderBoxModelObjectEPNS_10StyleImageE
> ## BB#0:
> pushq %r14
> pushq %rbx
> subq $8, %rsp
> movq %rsi, %rbx
> movq %rdi, %r14
> movq %rdx, %rdi
> movq %rcx, %rsi
> callq __ZN7WebCore4viziEPKNS_20RenderBoxModelObjectEPNS_10StyleImageE
> movq %rax, %rcx
> shrq $32, %rcx
> testl %ecx, %ecx
> je LBB0_2
> ## BB#1:
> imull (%rbx), %eax
>...
2013 Sep 06
0
[LLVMdev] CFI Directives
...pushq %rbp
> Ltmp1532:
> .cfi_def_cfa_offset 16
> Ltmp1533:
> .cfi_offset %rbp, -16
> movq %rsp, %rbp
> Ltmp1534:
> .cfi_def_cfa_register %rbp
> pushq %r15
> pushq %r14
> pushq %rbx
> subq $3224, %rsp ## imm = 0xC98
> Ltmp1535:
> .cfi_offset %rbx, -40
> Ltmp1536:
> .cfi_offset %r14, -32
> Ltmp1537:
> .cfi_offset %r15, -24
>
> I need to be able to know that `%rsp' was adjusted by 3224. However, there are no CFI directi...
2008 Oct 24
1
Automatically adjust text size in plot
....call("c",lapply(barnames,function(x)paste(strwrap(x,Width),collapse="\n")))
text(barnames.plot,x= (seq.int(0, 1, length.out =
length(barnames)+1)-0.5/length(barnames))[-1],y=0.5,cex=Cex)
for(i in 1:nrow(answers)){
barheight<-rep(0,length(barnames))
barheight[as.numeric(names(subQ.tables[[i]]))]<-subQ.tables[[i]]
barplot(barheight,space=0)
}
The question is, how do I figure out the appropriate "Width" and
"Cex" parameters as a function of barnames?
That is, with varying text lengths of the barnames, varying number of
alternatives etc, and independent...
2010 Aug 03
0
[LLVMdev] Purpose of PROLOG_LABEL in function prologue?
On Aug 3, 2010, at 3:04 PM, Cameron Esfahani wrote:
> I've been building/dumping some x86_64 code and I've noticed that each of the routines has 3 temporary symbols, à la:
>
> _main:
> pushq %rbp
> Ltmp18:
> movq %rsp, %rbp
> Ltmp19:
> subq $320, %rsp
> Ltmp20:
> movl %ecx, -276(%rbp)
>
> I've tracked them back to emitPrologue in X86RegisterInfo.cpp. I'm wonder what's their purpose?
>
> They're filling up my symbol table...
EH ranges for unwind info. If you look later on in the file for the sym...
2012 Apr 20
1
Numbers not numeric?
...e dataset are not registered as numeric:
is.numeric(data$Mesh)
[1] FALSE
When I try as.numeric, it converts all the values to different integers.
This changes the analysis as I would like calculate simple things such as
the means and standard deviation. Any thoughts would be appreciated.
Mesh SubQ Edge 90 10 55 60 25 45 60 12 85 50 50 90 45 80 70 40 45 45
80 40 65 100 65 58
[[alternative HTML version deleted]]
2011 Feb 21
2
[LLVMdev] Passing structures as pointers, MSVC x64 style
...x96, 0x4, 0xe0, 0x85, 0xb3 } };
void v(int, ...);
void byValue(void)
{
v(1, g);
}
void byReference(void)
{
v(1, &g);
}
And the disassembled output:
_byValue:
0000000000000000 pushq %rbp
0000000000000001 movq %rsp,%rbp
0000000000000004 subq $0x30,%rsp
0000000000000008 movq 0x00000008(%rip),%rax
000000000000000f movq %rax,0xf8(%rbp)
0000000000000013 movq 0x00000000(%rip),%rax
000000000000001a movq %rax,0xf0(%rbp)
000000000000001e movq 0xf0(%rbp),%rdx
0000000000000022 movq 0xf8(%rbp),%r8
0000000000000026 movl...
2018 Sep 14
2
Function calls keep increasing the stack usage
...# @bar
> .cfi_startproc
> # %bb.0: # %entry
> pushq %rbp
> .cfi_def_cfa_offset 16
> .cfi_offset %rbp, -16
> movq %rsp, %rbp
> .cfi_def_cfa_register %rbp
> subq $16, %rsp
> movl $1, %edi
> movl $2, %esi
> callq foo
> movl $3, %edi
> movl $4, %esi
> movl %eax, -4(%rbp) # 4-byte Spill
> callq foo
> movl %eax, -8(%rbp) # 4-byte Sp...
2012 Jul 26
2
[PATCH] x86-64: drop updating of UREGS_rip when converting sysenter to #GP
...null cs */
movq VCPU_sysenter_addr(%rbx),%rax
setne %cl
leaq VCPU_trap_bounce(%rbx),%rdx
@@ -292,7 +290,6 @@ sysenter_eflags_saved:
UNLIKELY_START(z, sysenter_gpf)
movq VCPU_trap_ctxt(%rbx),%rsi
movl $TRAP_gp_fault,UREGS_entry_vector(%rsp)
- subq $2,UREGS_rip(%rsp)
movl %eax,TRAPBOUNCE_error_code(%rdx)
movq TRAP_gp_fault * TRAPINFO_sizeof + TRAPINFO_eip(%rsi),%rax
testb $4,TRAP_gp_fault * TRAPINFO_sizeof + TRAPINFO_flags(%rsi)
_______________________________________________
Xen-devel mailing list
Xen-devel...
2019 Feb 05
2
clang emits calls to consexpr function.
..../clang test.cpp -std=c++11 -S
$./clang -v
clang version 9.0.0
Target: x86_64-unknown-linux-gnu
$cat test.s
main:
.cfi_startproc
# %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _Z7productv //here you can see the calls to product
function
xorl %ecx, %ecx
movl %eax, -8(%rbp)
movl %ecx, %eax
addq $16, %rsp
popq %rbp
.cfi_def_cfa %rsp, 8
retq
w...
2017 Jun 06
4
LLD support for ld64 mach-o linker synthesised symbols
...tic PIE and ASLR support in x86_64-xnu-musl */
.align 3
__image_base:
.quad segment$start$__TEXT
__start_static:
.quad start
.text
.align 3
.global start
start:
xor %rbp,%rbp
mov %rsp,%rdi
andq $-16,%rsp
movq __image_base(%rip), %rsi
leaq start(%rip), %rdx
subq __start_static(%rip), %rdx
call __start_c
In C:
/* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
typedef void (*__init_fn)(int, char **, char **, char **);
extern __init_fn __init_start __asm("section$start$__DATA$__mod_init_func");
extern __init_fn __init_...
2017 Feb 16
2
Print Register Liveness Information
Hi,
Is there a way to print the register liveness information into the assembly
file or as some intermediate listing?
To be more precise, I am looking at figuring out the following information
in an assembly file/listing.
Say, for simplicity, our register set is only { rsp, rbp, eax }
subq $16, %rsp // rsp is killed here, eax and rbp are live
movl $0, -4(%rbp) // rbp is killed here, rsp and eax are live
xorl %eax, %eax // eax is killed here, rsp and rbp are live
movl $1, %eax // eax is killed here, rsp and rbp are live
Is there a way LLVM stores this informatio...
2011 Feb 22
0
[LLVMdev] Passing structures as pointers, MSVC x64 style
...id)
> {
> v(1, g);
> }
>
> void byReference(void)
> {
> v(1, &g);
> }
>
> And the disassembled output:
>
> _byValue:
> 0000000000000000 pushq %rbp
> 0000000000000001 movq %rsp,%rbp
> 0000000000000004 subq $0x30,%rsp
> 0000000000000008 movq 0x00000008(%rip),%rax
> 000000000000000f movq %rax,0xf8(%rbp)
> 0000000000000013 movq 0x00000000(%rip),%rax
> 000000000000001a movq %rax,0xf0(%rbp)
> 000000000000001e movq 0xf0(%rbp),%rdx
> 00000...
2011 Jul 28
0
[LLVMdev] LLVMdev Digest, Vol 85, Issue 50
...seeing clearly have both gcc and clang on Darwin generating
different LSDAs for your cleanup examples and your catch-all examples.
Here is the output I see from gcc-4.2 for your cleanup example:
.text
.globl __Z3barv
__Z3barv:
LFB2:
pushq %rbp
LCFI0:
movq %rsp, %rbp
LCFI1:
pushq %rbx
LCFI2:
subq $40, %rsp
LCFI3:
leaq -17(%rbp), %rdi
call __ZN3BobC1Ev
leaq -18(%rbp), %rdi
call __ZN3BobC1Ev
leaq -19(%rbp), %rdi
call __ZN3BobC1Ev
LEHB0:
call __Z3foov
LEHE0:
<snip>
.section __TEXT,__gcc_except_tab
GCC_except_table0:
LLSDA2:
.byte 0xff
.byte 0xff
.byte 0x3
.byte 0x1a
.set L...
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
...END_COMPILERRT_FUNCTION(___chkstk)
(source
https://github.com/llvm-project/llvm-project-20170507/blob/release_50/compiler-rt/lib/builtins/x86_64/chkstk2.S
)
When I replaced it with a simple `ret`, everything worked.
The disassembled ntdll implementation is:
__chkstk:
1800a9f60: 48 83 ec 10 subq $16, %rsp
1800a9f64: 4c 89 14 24 movq %r10, (%rsp)
1800a9f68: 4c 89 5c 24 08 movq %r11, 8(%rsp)
1800a9f6d: 4d 33 db xorq %r11, %r11
1800a9f70: 4c 8d 54 24 18 leaq 24(%rsp), %r10
1800a9f75: 4c 2b d0 subq %rax, %r10
1800a9f78: 4d 0f 42 d3 cmovbq %r11, %r10
180...
2010 Jan 22
2
[LLVMdev] Exception handling question
...ain5test5EN2IO6WriterEiA_l
.type _ZN4N0014Main5test5EN2IO6WriterEiA_l, at function
_ZN4N0014Main5test5EN2IO6WriterEiA_l: #
@_ZN4N0014Main5test5EN2IO6WriterEiA_l
.Leh_func_begin153:
.Lfunc_begin153:
.LBB153_0: # %entry
subq $56, %rsp
.Llabel294:
.LBB153_1:
movq %rdi, 24(%rsp)
movq %rsi, 48(%rsp)
movl %edx, 44(%rsp)
movq %rcx, 32(%rsp)
.LBB153_2: # %.try_body
movq 32(%rsp), %rdi
.Llabel291:
addq $16, %rdi
xorb %al, %al...
2010 Aug 31
5
[LLVMdev] "equivalent" .ll files diverge after optimizations are applied
...c -o -
.section __TEXT,__text,regular,pure_instructions
.globl __ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
.align 4, 0x90
__ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE: ## @_ZN7WebCore15GraphicsContext19roundToDevicePixelsERKNS_9FloatRectE
## BB#0:
subq $24, %rsp
movq %rsi, %rdx
movl $0, 16(%rsp)
movl $0, 20(%rsp)
movl $0, 8(%rsp)
movl $0, 12(%rsp)
movq 8(%rdi), %rsi
leaq 16(%rsp), %rcx
leaq 8(%rsp), %r8
callq __ZN7WebCore5mouniEPNS_15GraphicsContextEPNS_30GraphicsContextPlatformPrivateERKNS_9FloatRectERNS_10FloatPointES8_
movss 8(%rsp),...