Displaying 20 results from an estimated 203 matches for "w0".
2000 Jun 09
2
w0 in legend
In Version 1.1.0 Under development (unstable) (June 8, 2000)
there seems to be a problem with an internal variable w0 in legend that
generates the following new error:
Error in legend((par()$usr)[1:2], (par()$usr)[3:4], Legend, lty = lty, :
Object "w0" not found
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at...
2018 Aug 23
2
[RFC] "Properly" Derive Function/Argument/Parameter Attributes
...s -enable-nonnull-arg-prop %s | FileCheck %s
;
; This is an evolved example to stress test SCC parameter attribute propagation.
; The SCC in this test is made up of the following six function, three of which
; are internal and three externally visible:
;
; static int* internal_ret0_nw(int *n0, int *w0);
; static int* internal_ret1_rw(int *r0, int *w0);
; static int* internal_ret1_rrw(int *r0, int *r1, int *w0);
; int* external_ret2_nrw(int *n0, int *r0, int *w0);
; int* external_sink_ret2_nrw(int *n0, int *r0, int *w0);
; int* external_source_ret2_nrw(int *n0, int *r0, int *...
2014 Sep 02
3
[LLVMdev] LICM promoting memory to scalar
...ut:
$ aarch64-linux-gnu-g++ -S -o - -O3 -ffast-math -march=armv8-a+simd test.cpp
.arch armv8-a+fp+simd
.file "test.cpp"
.text
.align 2
.global _Z3fooii
.type _Z3fooii, %function
_Z3fooii:
.LFB0:
.cfi_startproc
cbz w0, .L1
adrp x6, globalvar
add w5, w0, w0, lsr 31
ldr w3, [x6,#:lo12:globalvar] <== hoist load of globalvar
mov w2, 0
asr w5, w5, 1
.L4:
cmp w5, w2
add w2, w2, w1
add w4, w3, w1
csel w3, w4,...
2014 Sep 02
2
[LLVMdev] LICM promoting memory to scalar
...t; .arch armv8-a+fp+simd
>> .file "test.cpp"
>> .text
>> .align 2
>> .global _Z3fooii
>> .type _Z3fooii, %function
>> _Z3fooii:
>> .LFB0:
>> .cfi_startproc
>> cbz w0, .L1
>> adrp x6, globalvar
>> add w5, w0, w0, lsr 31
>> ldr w3, [x6,#:lo12:globalvar] <== hoist load of globalvar
>> mov w2, 0
>> asr w5, w5, 1
>> .L4:
>> cmp w...
2006 Sep 04
1
how to fit gauss beam?
Hello,
I am having a hard time fitting a gauss beam using R. In
gnutplot I did something like
$ w(z) = w0 * sqrt(1+(z/z0)**2)
$ fit w(z) 'before_eom.txt' using 1:2 via w0, z0
to obtain w0 and z0. Now I want to do the same in R. I tried
a linear model like this (r = radius, z = distance):
beam <- function(z) {
sum(sqrt(1 + z**2))
}
lm(r ~ I(beam(z)), data = before_eom)
Which gives nons...
2008 Jul 21
1
portfolio optimization problem - use R
How to use R to solve the optimisaton problem
Minimize:
?*w^T*omega*w+mu^T*w+c^T(w-w0) for w>w0 long position
?*w^T*omega*w+mu^T*w-c^T(w-w0) for w<w0 short position
W: is the update weight of portfolio
Wo is the initial weight of portfolio
Omega is the variance covariance matrix
mu is the vector of return rate of stocks in the portfolio
C is the vector coefficient of tran...
2007 Apr 18
1
[PATCH 4/14] i386 / Clean up asm and volatile keywords in desc
...ig/include/asm-i386/mach-default/mach_desc.h 2005-08-09 18:38:14.000000000 -0700
+++ linux-2.6.13/include/asm-i386/mach-default/mach_desc.h 2005-08-10 20:42:03.000000000 -0700
@@ -24,30 +24,30 @@
#ifndef __MACH_DESC_H
#define __MACH_DESC_H
-#define load_TR_desc() __asm__ __volatile__("ltr %w0"::"q" (GDT_ENTRY_TSS*8))
-#define load_LDT_desc() __asm__ __volatile__("lldt %w0"::"q" (GDT_ENTRY_LDT*8))
+#define load_TR_desc() asm volatile("ltr %w0"::"q" (GDT_ENTRY_TSS*8))
+#define load_LDT_desc() asm volatile("lldt %w0"::"q...
2007 Apr 18
1
[PATCH 4/14] i386 / Clean up asm and volatile keywords in desc
...ig/include/asm-i386/mach-default/mach_desc.h 2005-08-09 18:38:14.000000000 -0700
+++ linux-2.6.13/include/asm-i386/mach-default/mach_desc.h 2005-08-10 20:42:03.000000000 -0700
@@ -24,30 +24,30 @@
#ifndef __MACH_DESC_H
#define __MACH_DESC_H
-#define load_TR_desc() __asm__ __volatile__("ltr %w0"::"q" (GDT_ENTRY_TSS*8))
-#define load_LDT_desc() __asm__ __volatile__("lldt %w0"::"q" (GDT_ENTRY_LDT*8))
+#define load_TR_desc() asm volatile("ltr %w0"::"q" (GDT_ENTRY_TSS*8))
+#define load_LDT_desc() asm volatile("lldt %w0"::"q...
2014 Sep 03
3
[LLVMdev] LICM promoting memory to scalar
...ut:
$ aarch64-linux-gnu-g++ -S -o - -O3 -ffast-math -march=armv8-a+simd
test.cpp
.arch armv8-a+fp+simd
.file "test.cpp"
.text
.align 2
.global _Z3fooii
.type _Z3fooii, %function
_Z3fooii:
.LFB0:
.cfi_startproc
cbz w0, .L1
adrp x6, globalvar
add w5, w0, w0, lsr 31
ldr w3, [x6,#:lo12:globalvar] <== hoist
load of globalvar
mov w2, 0
asr w5, w5, 1
.L4:
cmp w5, w2
add w2, w2, w1
add w4, w3, w1
...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 07/17] paravirt_ops - descriptor changes.
...asm-x86_64/desc.h
===================================================================
--- clean-start.orig/include/asm-x86_64/desc.h
+++ clean-start/include/asm-x86_64/desc.h
@@ -16,9 +16,8 @@
extern struct desc_struct cpu_gdt_table[GDT_ENTRIES];
-#define load_TR_desc() asm volatile("ltr %w0"::"r" (GDT_ENTRY_TSS*8))
-#define load_LDT_desc() asm volatile("lldt %w0"::"r" (GDT_ENTRY_LDT*8))
-#define clear_LDT() asm volatile("lldt %w0"::"r" (0))
+/* the cpu gdt accessor */
+#define cpu_gdt(_cpu) ((struct desc_struct *)cpu_gdt_descr[_c...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 07/17] paravirt_ops - descriptor changes.
...asm-x86_64/desc.h
===================================================================
--- clean-start.orig/include/asm-x86_64/desc.h
+++ clean-start/include/asm-x86_64/desc.h
@@ -16,9 +16,8 @@
extern struct desc_struct cpu_gdt_table[GDT_ENTRIES];
-#define load_TR_desc() asm volatile("ltr %w0"::"r" (GDT_ENTRY_TSS*8))
-#define load_LDT_desc() asm volatile("lldt %w0"::"r" (GDT_ENTRY_LDT*8))
-#define clear_LDT() asm volatile("lldt %w0"::"r" (0))
+/* the cpu gdt accessor */
+#define cpu_gdt(_cpu) ((struct desc_struct *)cpu_gdt_descr[_c...
2013 Mar 15
1
Re: [PATCH 6/9] tools: memshr: arm64 support
...ot; (v)
> : "cc");
> }
> +
> +#elif defined(__aarch64__)
> +
> +static inline void atomic_inc(uint32_t *v)
> +{
> + unsigned long tmp;
> + int result;
> +
> + asm volatile("// atomic_inc\n"
> +"1: ldxr %w0, [%3]\n"
> +" add %w0, %w0, #1\n"
> +" stxr %w1, %w0, [%3]\n"
> +" cbnz %w1, 1b"
> + : "=&r" (result), "=&r" (tmp), "+o" (v)
> + : "r" (v)
> + : &quo...
2000 May 31
1
legend with multiple columns
...,h) are now the final box width/height.
left <- x - xjust * w
top <- y + (1 - yjust) * h
--- 104,115 ----
} else {## nx == 1
## -- (w,h) := (width,height) of the box to draw -- computed in steps
! h <- n.legpercol * ychar + yc
! w0 <- text.width + (x.intersp+1) * xchar
! if(!missing(fill)) w0 <- w0 + dx.fill
! if(has.pch && !merge) w0 <- w0 + dx.pch
! if(do.lines) w0 <- w0 + (2+x.off) * xchar
! w <- w0*ncol+xchar
##-- (w,h) are now the final box width/he...
2011 Nov 23
2
How to increase precision to handle very low P-values
...values < 10^-20.
However, my current implementations enable one to estimate P-values up to
10^-12, or so.
A typical example is found below, where t is my critical value.
########### example - code adapted from Rassoc #######################
rho01 = 0.5
rho105 = 0.5
rho005 = 0.5
t = 8
z = 2
w0=(rho005-rho01*rho105)/(1-rho01^2)
w1=(rho105-rho01*rho005)/(1-rho01^2)
fun1=function(t,z){
return(pnorm((t-rho01*z)/sqrt(1-rho01^2))*dnorm(z))
}
fun2=function(t,z){
return(pnorm(((t-w0*z)/w1-rho01*z)/sqrt(1-rho01^2))*dnorm(z))
}
fun3=function(t,z){
return(pnorm((-t-rho01*z)/sqrt(1-rho0...
2011 Jul 28
4
[LLVMdev] [RFC] Coroutines
...orking on adding coroutines to LLVM. Mentioned below is the
implementation plan I'm following, for suggestions, flames and other
input. Using segmented stacks is a prerequisite.
The idea is to associate every coroutine with a coroutine descriptor. A
coroutine descriptor consists of four words: w0, w1, w2 and w3.
w0 always contains the _launcher_, and invoking a coroutine always
involves setting a predefined register (%eax or %rax on x86) to point to
the descriptor and calling into w0. The contents of w1, w2 and w3 are
decided by the state the coroutine is in. As of now, there are two
poss...
2016 May 27
2
Handling post-inc users in LSR
...tore volatile i32 %StoredValue, i32* %StoredAddr
%cmp = icmp sgt i64 %K, 1
br i1 %cmp, label %for.body, label %for.end
for.end:
ret void
}
# Output in AArch64 where you can see redundant add instructions for
stored value, store address, and in cmp :
foo:
.cfi_startproc
// BB#0:
cmp w0, #2
b.lt .LBB0_3
// BB#1:
sxtw x9, w0
add w8, w0, #1
.LBB0_2:
add x10, x1, x9, lsl #2
add x9, x9, #1
str w8, [x10, #4]
add w8, w8, #1
cmp x9, #1
b.gt .LBB0_2
.LBB0_3:
ret
2011 Jul 18
2
line jump in plot legend title
Hello,
In order to reduce the width of my legend in a plot I introduced line jumps in the title. Here's the problem; the legend box hasn't adapted accordingly and part of the title is printed out of the frame.
See the example below:
plot(1:10)
legend("bottomright", bg="white", fill=c(7,8,12,13,19),
2002 Feb 22
2
R gnome and lda: found the difference
...bo at humboldt:> diff lda.default.gnome.txt lda.default.nognome.txt
1c1
< function (x, grouping, prior = proportions, tol = 1, method =
c("moment",
---
> function (x, grouping, prior = proportions, tol = 1e-04, method =
c("moment",
61c61
< if (all(abs(w - w0) < 0,01))
---
> if (all(abs(w - w0) < 0.01))
109c109
< dist <- 0 * dist - matrix(log(prior), n, ng, byrow = TRUE)
---
> dist <- 0.5 * dist - matrix(log(prior), n, ng, byrow = TRUE)
It's clear then that R with the gnome gui uses a different copy...
2020 Jul 15
2
[MTE] Tagging Globals
...armv8.5a+memtag -fsanitize=memtag test.cpp -S -o test.s
main: // @main
.Lmain$local:
// %bb.0: // %entry
adrp x8, global_array
add x8, x8, :lo12:global_array
str wzr, [x8, #4]
add x8, x8, w0, sxtw #2
ldr w0, [x8, #64]
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200715/568346a0/attachment.html>
2007 Apr 18
0
[PATCH 11/12] subarch-desc
...===
--- linux-2.6.13.orig/include/asm-i386/desc.h 2005-08-08 17:31:59.000000000 -0700
+++ linux-2.6.13/include/asm-i386/desc.h 2005-08-08 17:36:35.000000000 -0700
@@ -33,19 +33,6 @@
extern struct Xgt_desc_struct idt_descr, cpu_gdt_descr[NR_CPUS];
-#define load_TR_desc() asm volatile("ltr %w0"::"q" (GDT_ENTRY_TSS*8))
-#define load_LDT_desc() asm volatile("lldt %w0"::"q" (GDT_ENTRY_LDT*8))
-
-#define load_gdt(dtr) asm volatile("lgdtl %0"::"m" (*dtr))
-#define load_idt(dtr) asm volatile("lidtl %0"::"m" (*dtr))
-#de...