Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Optimizing math code"
2014 Feb 18
2
[LLVMdev] Optimizing math code
On Feb 17, 2014, at 6:38 PM, Stephen Checkoway <s at pahtak.org> wrote:
>
> On Feb 17, 2014, at 8:10 PM, Michael Hamburg <mike at shiftleft.org> wrote:
>
>> First, addition. I have multiprecision integer objects, and I’d like to add them component-wise (likewise, subtract, negate, mask…). For example:
>>
>> struct mp {
>> int limb[8];
>> }
2010 Jun 11
3
[LLVMdev] Bignum development
On Fri, Jun 11, 2010 at 3:28 PM, Bill Hart <goodwillhart at googlemail.com> wrote:
> Hi Eli,
>
> On 11 June 2010 22:44, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Fri, Jun 11, 2010 at 10:37 AM, Bill Hart <goodwillhart at googlemail.com> wrote:
>>> a) What plans are there to support addition, subtraction,
>>> multiplication, division,
2010 Jun 11
4
[LLVMdev] Bignum development
Hi all,
After searching for a decent compiler backend for ages (google
sometimes isn't helpful), I recently stumbled upon LLVM. Woot!!
I work on bignum arithmetic (I'm a professional mathematician) and
have recently decided to switch from developing GPL'd bignum code to
BSD licensed code. (See http://www.mpir.org/ which I contributed to
for a while - a fork of GMP).
Please bear with
2006 Apr 25
1
lme: how to compare random effects in two subsets of data
Dear R-gurus,
I have an interpretation problem regarding lme models.
I am currently working on dog locomotion, particularly on some variation
factors.
I try to figure out which limb out of 2 generated more dispersed data.
I record a value called Peak, around 20 times for each limb with a record.
I repeat the records during a single day, and on several days.
I tried to build two models, one
2014 Oct 09
4
file system replication
Hi Everyone,
I need to keep 2 systems identical. Mostly e-mail directories, web
directories, mysql, etc. The goal here is to have a 2nd system ready to go
it the first one starts to exhibit hardware issues.
What are options to have this happen? I'm going out on a limb and thinking
rsync but I haven't used it past just simple use cases.
Can anyone provide some insight for me?
CentOS
2017 Feb 15
4
multiprecision add/sub
I suggest that LLVM needs intrinsics for add/sub with carry, e.g.
declare {T, i1} @llvm.addc.T(T %a, T %b, i1 c)
The current multiprecision clang intrinsics example:
void foo(unsigned *x, unsigned *y, unsigned *z)
{ unsigned carryin = 0;
unsigned carryout;
z[0] = __builtin_addc(x[0], y[0], carryin, &carryout);
carryin = carryout;
z[1] = __builtin_addc(x[1], y[1],
2006 Jan 23
2
Newer version of Zaptel with 1.0 branch of *
Is it possible to run the CVS-HEAD/Stable version of Zaptel (1.2 whatever)
with an older version of Asterisk? I'm running 1.09, but I was wondering if
I could get at the newer echo cancellers like KB1 and MG2 without upgrading
to Asterisk 1.2?
I'm going out on a limb here to try and fix a serious echo problem on a TDM
+ BT PSTN line in the UK
Thanks for your suggestions everyone
--
2010 Jun 12
0
[LLVMdev] Bignum development
On 12 June 2010 00:51, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Fri, Jun 11, 2010 at 3:28 PM, Bill Hart <goodwillhart at googlemail.com> wrote:
>> Hi Eli,
>>
>> On 11 June 2010 22:44, Eli Friedman <eli.friedman at gmail.com> wrote:
>>> On Fri, Jun 11, 2010 at 10:37 AM, Bill Hart <goodwillhart at googlemail.com> wrote:
2007 Nov 27
2
[LLVMdev] Other Intrinsics?
Do you have plans to add other intrinsics? I'm curious as to why there
is an llvm.sin intrinsic and an llvm.cos intrinsic, but no llvm.atan
intrinsic. Why is there an llvm.pow intrinsic but no llvm.log
intrinsic? Also, have you thought about integer intrinsics like
multiprecision multiply (u32xu32->u64) and multiprecision divide
(u64/u32->(dividend:u32,remainder:u32))?
Regards,
2017 Feb 16
2
multiprecision add/sub
Stephen Canon via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Why do you think this requires new intrinsics instead of teaching the optimizer what to do with the existing intrinsics?
IMO, as a multiprecision math library maker, the "teaching the
optimizer what to do with the existing intrinsics" approach is much
better as long as it can be made to work. If one is
2013 Mar 20
2
xmpp priority setting and GoogleVoice
I just wanted to send out some information that will hopefully help
others. I don't know, maybe I'm the only one that's been having
problems with this. I've been pulling my hair out for a while
wondering why Google would not send my incoming calls to my Asterisk
box. The calls would just roll to voice mail and no packets ever
reached Asterisk. This has happened on two separate
2019 Apr 11
1
decrypt.rb
> On 11 April 2019 17:44 David Salisbury via dovecot <dovecot at dovecot.org> wrote:
>
>
> On 4/11/2019 1:50 AM, Aki Tuomi wrote:
> >
> >> ...
> >> So, not being an expert at encryption, what are the ramifications of
> >> those digests being read as different values in the two different
> >> places???? I do notice that the
2010 Nov 12
1
wind rose (oz.windrose) scale
Dear list,
I trying to make a wind rose plot whit the command oz.windrose, from plotrix
package. My data, a matrix of percentages with the rows representing speed
ranges and the columns indicating wind directions was generated
using bin.wind.records command from same package:
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 0.4405286 0.0000000 0.1468429 0.4405286 0.4405286
2017 Feb 17
2
multiprecision add/sub
On 02/16/2017 12:08 PM, Stephen Canon wrote:
>> On Feb 16, 2017, at 9:12 AM, Bagel <bagel99 at gmail.com
>> <mailto:bagel99 at gmail.com>> wrote:
>>
>> I figured that the optimization of this would bedifficult (else it would
>> have already been done :-))
>
> Don’t make this assumption. There’s lots of opportunities for optimization
> scattered
2013 Jun 04
2
[LLVMdev] Address Sanitizer on Android
I have simple standalone ASan examples working on Android, and now I'd
like to try using ASan with the Android build system. I'm building
the release_33 branch of llvm+clang+compiler-rt with CMake. To test,
I'm looking at libjpg, because with just a small change its Android.mk
it compiles in a few seconds and without needing any additional
dependencies.
When I run 'djpeg' on
2017 Mar 07
2
multiprecision add/sub
> On Feb 21, 2017, at 9:54 PM, Nemanja Ivanovic via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I believe that providing additional intrinsics that would directly produce the ISD::ADDC/ISD::SUBC nodes would provide the additional advantage of being able to directly produce these nodes for code that doesn't have anything to do with multiprecision addition/subtraction. I am
2015 Jun 26
1
[R-pkg-devel] Guidelines for S3 regression models
Stephen,
thanks for your effort. The more appropriate list for this discussion is
probably R-devel (as far as I understand it) so I've moved the discussion
there.
Related topics have already been discussed in the past. Specifically, I
remember contributions by Paul Johnson ("rockchalk" package) and John Fox
("effects" and "car" package) as their packages
2010 May 20
2
multiple 2 by 2 crosstabulations?
Hello,
I have a dataframe (var_1, var_2, ..., var_n) and I would like to export summary statistics to Latex in the form of a table. I want specific summary statistics by crossing numerous variables 2x2 AT ONCE. In each cell I would like sometimes to have the median (Q1 - Q3), or frequency and proportion, etc. CrossTable, xtab, etc... do not allow for multiple 2 by 2 crosstabulation. The table
2013 Jun 04
0
[LLVMdev] Address Sanitizer on Android
> When I run 'djpeg' on JellyBean, ASan reports the error message below.
>
> ==28210==Shadow memory range interleaves with an existing memory
> mapping. ASan cannot proceed correctly. ABORTING.
Got figured out. I needed to use TARGET_LDFLAGS. LOCAL_LDFLAGS seems
to be ignored in my clang build.
LOCAL_CFLAGS += -fsanitize=address
TARGET_LDFLAGS +=-fsanitize=address -target
2012 Feb 04
1
RFC: Proposal to make NROW() and NCOL() slightly more general
The help has
> Description:
> 'nrow' and 'ncol' return the number of rows or columns present in 'x'.
> 'NCOL' and 'NROW' do the same treating a vector as 1-column matrix.
and
> x: a vector, array or data frame
I'm proposing to extend these two convenience functions
to also work ``correctly'' for generalized versions of