Displaying 20 results from an estimated 36 matches for "padd".
Did you mean:
add
2008 Oct 21
1
Paddding an integer with zeros
Hello List,
Can anybody point me to a number-to-string formatting function?
I need to convert, say, 12 to 00012.
I tried format() but its too stubborn: it seems to only pad with spaces.
Thank you,
Your culpritNr1
--
View this message in context: http://www.nabble.com/Paddding-an-integer-with-zeros-tp20095300p20095300.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 04
2
[LLVMdev] Help on DAG pattern matching string
...LLVM and I'm using it to translate from LLVM to another
language rather than emitting actual machine code. The target language
has instructions that operate on pointers which aren't naturally exposed
in LLVM. Here's what I've done to add pointer support for an instruction
called PADD that takes a pointers and an offset and returns the new
pointer value:
def DefReg : Register<"r">;
def PtrReg : Register<"ptr">;
def I32RC : RegisterClass<"BE", [i32], 32, [DefReg]>;
def P32RC : RegisterClass<"BE", [i32], 32, [PtrReg]&g...
2009 Jul 06
2
[LLVMdev] Help on DAG pattern matching string
Hi Bill,
Yes, there are other patterns. I tried commenting out all the other
instructions definitions and I still get this error. After debugging
TblGen I found that the second pattern is being generated as a variant
of the first. I think the reason is that the PADD instruction is
inheriting the commutative property from ADD defined
inTargetSelectionDAG.td. The variant ends up being the same as the
original causing the error later on. If all this is correct then how can
I mark the node to be non-commutable? I tried using "let isCommutable =
0" i...
2009 Jul 04
0
[LLVMdev] Help on DAG pattern matching string
...ranslate from LLVM to another
> language rather than emitting actual machine code. The target language
> has instructions that operate on pointers which aren't naturally
> exposed
> in LLVM. Here's what I've done to add pointer support for an
> instruction
> called PADD that takes a pointers and an offset and returns the new
> pointer value:
>
> def DefReg : Register<"r">;
> def PtrReg : Register<"ptr">;
> def I32RC : RegisterClass<"BE", [i32], 32, [DefReg]>;
> def P32RC : RegisterClass<"BE&...
2011 Oct 28
2
[LLVMdev] instcombine does silly things with vector x+x
Consider the following function which doubles a <16 x i8> vector:
define <16 x i8> @test(<16 x i8> %a) {
%b = add <16 x i8> %a, %a
ret <16 x i8> %b
}
If I compile it for x86 with llc like so:
llc paddb.ll -filetype=asm -o=/dev/stdout
I get a two-op function that just does paddb %xmm0 %xmm0 and then
returns. llc does this regardless of the optimization level. Great!
If I let the instcombine pass touch it like so:
opt -instcombine paddb.ll | llc -filetype=asm -o=/dev/stdout
or like so:
opt -...
2012 Apr 19
5
User defined panel functions in lattice
...quot;B", "B", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C",
"C", "C", "C", "C", "C", "C", "C"), Padd = c(1L, 2L, 1L, 2L,
1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L,
1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L,
1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L, 1L, 2L,
1L, 2L), x = c(1L, 1L, 2L, 2L, 3L, 3L, 4L, 4L, 5L, 5L, 6L, 6L,
7L, 7L, 8L, 8L, 9L, 9L,...
2011 Oct 28
0
[LLVMdev] instcombine does silly things with vector x+x
...wrote:
> Consider the following function which doubles a <16 x i8> vector:
>
> define <16 x i8> @test(<16 x i8> %a) {
> %b = add <16 x i8> %a, %a
> ret <16 x i8> %b
> }
>
> If I compile it for x86 with llc like so:
>
> llc paddb.ll -filetype=asm -o=/dev/stdout
>
> I get a two-op function that just does paddb %xmm0 %xmm0 and then
> returns. llc does this regardless of the optimization level. Great!
>
> If I let the instcombine pass touch it like so:
>
> opt -instcombine paddb.ll | llc -filetype=asm...
2012 Apr 19
1
Fwd: User defined panel functions in lattice
...ues
4 Produce an extra line for a fit for all the groups in 1/2+ panels.
As for 3 but I do not know how to group all the x and y's for
each of the panes using panel.groups
I need to do this and then scale up for a panel function to include
confidence bands
For the record making Farm and Padd factors. With 1 panel and groups
= Farm works with the extra line the same colour for its group
a similar situation for the three panels when conditioned by Farm and
groups = Pad
xyplot(y ~x, xx,
groups = Farm,
par.settings = list(strip.background = list(col = "transp...
2009 Jul 06
0
[LLVMdev] Help on DAG pattern matching string
...> Hi Bill,
>
> Yes, there are other patterns. I tried commenting out all the other
> instructions definitions and I still get this error. After debugging
> TblGen I found that the second pattern is being generated as a
> variant of the first. I think the reason is that the PADD
> instruction is inheriting the commutative property from ADD defined
> inTargetSelectionDAG.td. The variant ends up being the same as the
> original causing the error later on. If all this is correct then how
> can I mark the node to be non-commutable? I tried using "let...
2011 Oct 30
1
[LLVMdev] instcombine does silly things with vector x+x
...wrote:
> Consider the following function which doubles a <16 x i8> vector:
>
> define <16 x i8> @test(<16 x i8> %a) {
> %b = add <16 x i8> %a, %a
> ret <16 x i8> %b
> }
>
> If I compile it for x86 with llc like so:
>
> llc paddb.ll -filetype=asm -o=/dev/stdout
>
> I get a two-op function that just does paddb %xmm0 %xmm0 and then
> returns. llc does this regardless of the optimization level. Great!
>
> If I let the instcombine pass touch it like so:
>
> opt -instcombine paddb.ll | llc -filetype=asm...
2015 Jan 14
5
[LLVMdev] [RFC] Integer Saturation Intrinsics
...can generate several new instructions, more efficient
than their expanded counterpart. Locally, I have worked on:
- ARM: the SSAT/USAT instructions (scalar)
- AArch64: the SQ/UQ ADD/SUB AArch64 instructions (vector/scalar
saturating arithmetic)
- X86: PACK SS/US (vector, saturate+truncate)
- X86: PADD/SUB S/US (vector, saturating arithmetic)
Anyway, let's first agree on the intrinsics, so that further
development is done on trunk.
Thanks!
-Ahmed
2007 Feb 06
0
convolve: request for "usual" behaviour + some improvements + some fixes
...f_2()".
>
> The current implementation of convolve uses an fft-buffer of length
> nx + ny - 1 for "open" convolution, not nextn().
> The fft-based convolution is by nature "circular". However it can be
> used for "open" convolutions: the trick is to padd the input sequences
> with enough zeros to avoid the overlap inherent to circular convolution.
> Then the ouput sequence doesn't "look" circular anymore.
>
> For example, if the input sequences are
> X = 2 5 8
> Y = 100 1 0
> then the "circula...
2010 Sep 07
2
remus failure -xen 4.0.1: xc_domain_restore cannot pin page tables
...9;'2.6'', ''image/features/supervisor-mode-kernel'': ''1'',
''image/pae-mode'': ''yes'', ''description'': '''', ''console/limit'': ''1048576'',
''image/padd
r-offset'': ''3221225472'', ''image/hypercall-page'': ''3222278144'',
''image/suspend-cancel'': ''1'', ''cpu/0/availability'': ''online'',
''image/features/pae-pgdir-above...
2015 Jan 15
2
[LLVMdev] [RFC] Integer Saturation Intrinsics
...>> than their expanded counterpart. Locally, I have worked on:
>> - ARM: the SSAT/USAT instructions (scalar)
>> - AArch64: the SQ/UQ ADD/SUB AArch64 instructions (vector/scalar
>> saturating arithmetic)
>> - X86: PACK SS/US (vector, saturate+truncate)
>> - X86: PADD/SUB S/US (vector, saturating arithmetic)
>>
>> Anyway, let's first agree on the intrinsics, so that further
>> development is done on trunk.
>>
>> Thanks!
>> -Ahmed
>> _______________________________________________
>> LLVM Developers mailing list...
2001 Mar 28
2
arc4randomstir() in OpenSSH
I'm trying to understand the rational behind the arc4random() and
arc4random_stir() functions in the OpenSSH source tree.
On a system that has a good random number generator, say an in
kernel /dev/random what extra functionality is this stuff providing ?
Would it be acceptable to replace the calls to arc4random() with
reading from /dev/random and drop the arc4random_stir() all together ?
2007 Feb 02
1
Inaccuracy in ?convolve
Hi,
Man page for 'convolve' says:
conj: logical; if 'TRUE', take the complex _conjugate_ before
back-transforming (default, and used for usual convolution).
The complex conjugate of 'x', of 'y', of both?
In fact it seems that it takes the complex conjugate of 'y' only which
is OK but might be worth mentioning because (1) conj=TRUE is the
2015 Jan 15
3
[LLVMdev] [RFC] Integer Saturation Intrinsics
...> than their expanded counterpart. Locally, I have worked on:
> > - ARM: the SSAT/USAT instructions (scalar)
> > - AArch64: the SQ/UQ ADD/SUB AArch64 instructions (vector/scalar
> > saturating arithmetic)
> > - X86: PACK SS/US (vector, saturate+truncate)
> > - X86: PADD/SUB S/US (vector, saturating arithmetic)
> >
> > Anyway, let's first agree on the intrinsics, so that further
> > development is done on trunk.
> >
> > Thanks!
> > -Ahmed
> > _______________________________________________
> > LLVM Developers mail...
2015 Jan 15
0
[LLVMdev] [RFC] Integer Saturation Intrinsics
...expanded counterpart. Locally, I have worked on:
>>> - ARM: the SSAT/USAT instructions (scalar)
>>> - AArch64: the SQ/UQ ADD/SUB AArch64 instructions (vector/scalar
>>> saturating arithmetic)
>>> - X86: PACK SS/US (vector, saturate+truncate)
>>> - X86: PADD/SUB S/US (vector, saturating arithmetic)
>>>
>>> Anyway, let's first agree on the intrinsics, so that further
>>> development is done on trunk.
>>>
>>> Thanks!
>>> -Ahmed
>>> _______________________________________________
>>&...
2009 Jan 16
0
No subject
...n <span dir=
=3D"ltr"><<a href=3D"mailto:creslin at digium.com">creslin at digium.com</a>&g=
t;</span><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px so=
lid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class=3D"Wj3C7c">Olivier wrote:<br>
> Hi,<br>
><br>
> As you may know, these ISDN BRI features are very important here in<br=
>
> Europe as ISDN Basic Rate Access is ve...
2006 Sep 29
0
[PATCH 2/6] xen: add per-node bucks to page allocator
...igned int zone, unsigned int order);
+struct page_info *alloc_heap_pages(
+ unsigned int zone, unsigned int cpu, unsigned int order);
void free_heap_pages(
unsigned int zone, struct page_info *pg, unsigned int order);
void scrub_heap_pages(void);
@@ -61,8 +62,12 @@ void init_domheap_pages(paddr_t ps, padd
void init_domheap_pages(paddr_t ps, paddr_t pe);
struct page_info *alloc_domheap_pages(
struct domain *d, unsigned int order, unsigned int memflags);
+struct page_info *__alloc_domheap_pages(
+ struct domain *d, unsigned int cpu, unsigned int order,
+ unsigned int memflags...