search for: powi

Displaying 20 results from an estimated 72 matches for "powi".

Did you mean: powe
2007 Nov 27
2
[LLVMdev] llvm.powi intrinsic
Hello, The purpose of the llvm.powi intrinsic isn't clear to me. Why is llvm.powi preferable to multiplication and division for small constant powers (e.g., 1/x, x*x, etc.)? Why is it preferable to llvm.pow for large variable powers? I'm also curious about the time bound. I'm assuming that powi(x,1000000) doesn...
2007 Nov 27
0
[LLVMdev] llvm.powi intrinsic
> The purpose of the llvm.powi intrinsic isn't clear to me. Why is > llvm.powi preferable to multiplication and division for small constant > powers (e.g., 1/x, x*x, etc.)? Why is it preferable to llvm.pow for > large variable powers? I'm also curious about the time bound. I'm > assuming that powi(x,1...
2009 Jul 26
2
[LLVMdev] question about llvm.powi and reassociation
...get my feet wet and hopefully make a small contribution, I was looking for something small to start with. I settled on one of the suggestions from the CodeGen readme: > Reassociate should turn things like: > > int factorial(int X) { > return X*X*X*X*X*X*X*X; > } > > into llvm.powi calls, allowing the code generator to > produce balanced multiplication trees. I started getting familiar with the relevant parts of the code and see two problems with this as things currently stand: - llvm.powi, in both the documentation and the code, is a floating-point-only intrinsic. -...
2010 Jun 07
2
[LLVMdev] IntrinsicLowering and several related problems
...s in LLVM byte-code. Unfortunately, I meet several problems: 1. Why I can not get the type of CallInst *CI? !CI->getType()->isVoidTy() is not working and how to solve it? This type information has some impacts with intrinsics such as flt_rounds. 2. Why Intrinsic::vastart and Intrinsic::powi are excluded from IntrinsicLowering function? There are no way to lower them at the byte-code level? Best regards, -- Hao Shen
2010 Jun 07
0
[LLVMdev] IntrinsicLowering and several related problems
Hi Hao Shen, > 1. Why I can not get the type of CallInst *CI? > !CI->getType()->isVoidTy() is not working and how to solve it? what does "not working" mean? It should work. > 2. Why Intrinsic::vastart and Intrinsic::powi are excluded from > IntrinsicLowering function? > There are no way to lower them at the byte-code level? For vastart, it probably isn't possible at the byte-code level. For powi, my guess is that it is a mistake and should be lowered. Ciao, Duncan.
2004 Apr 23
0
Microsoft Active Directory Connectivity
We are looking into implementing Samba as a Domain Structure within the authority, but we may have to have a Microsoft Active Directory structure in place as well. We will keep away from it as long as we can but may end up having to put it in. I want to gather information before this happens. Can you please direct me to any information you have about Microsoft Active Directory within a Samba
2015 Feb 04
6
[LLVMdev] llvm builtins
In the following example with gcc style builtins, in once case llvm.powi.f64 is emitted and in the other just a call to library function powf. ~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c Why is that? Is there a way to force the call to an llvm style builtin? Tia. Reed -------------- next part -------------- A non-text attachment was scrubbed... Name...
2014 Sep 18
2
[LLVMdev] troubles with ISD::FPOWI
Hi, I'm stumped by how to handle fpowi. Here is the context: my architecture has i64, f32, and f64 registers. No i32. For calls & returns, we promote i32 to i64. There is no support in the architecture to perform fpowi - it has to go through the runtime. I'm using gfortran + dragonegg + llvm3.4 to generate .ll files via plu...
2012 Sep 06
1
[LLVMdev] [NVPTX] powf intrinsic in unimplemented
Dear all, During app compilation we have a crash in NVPTX backend: LLVM ERROR: Cannot select: 0x732b270: i64 = ExternalSymbol'__powisf2' [ID=18] As I understand LLVM tries to lower the following call %28 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) nounwind readonly to device intrinsic. The table llvm/IntrinsicsNVVM.td does not contain such intrinsic, however it should be builtin, according to cuda/i...
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
...t 1535 1530 1531 // Dynamic-sized alloca is not handled yet. 1532 return false; 1533 1534 case Instruction::Call: 1535 return selectCall(I); 1536 1537 case Instruction::BitCast: 1538 return selectBitCast(I); 1539 (gdb) call I->dump() %2 = call float @llvm.powi.f32(float %0, i32 %1) (gdb) (gdb) print *I $12 = {<llvm::Value> = { _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = 0x61035c0, UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 'D', HasValueHandle = 0 '\000', SubclassOpt...
2004 Apr 30
2
Logon script, help please
Hi, I'm having trouble getting a logon script to work... I have created a DOS batch file (timesync.bat) and placed it in the scripts directory of the server. The file contains only one line - net time \\ptlserver /SET /y My smb.conf "Globals" section is:- [global] workgroup = PTLTRAIN netbios name = PTLSERVER server string = Llandrindod Trainee Server encrypt passwords = Yes
2018 May 09
4
more reassociation in IR
...ed. The original mindset included a (naive) belief that going with a canonical form was better than teaching redundancy elimination to handle abstractions (as a matter of separation of concerns). I think that that was a failed experiment at this point :-). We should still canonicalize x*x*x into powi, but the more aggressive canonicalization (like distribution) shouldn’t be used IMO. -Chris > That particular issue is solvable in other ways, because there are good ways to integrate reassociation into CSE/GVN (and at this point, it would probably be cheaper than -reassociate since it would...
2012 Apr 05
3
Problem with polish characters and sieve fileinto
Hi, I have problems with sieve fileinto and polish characters in folder names: # rule:[??????????????????] elsif anyof (header :contains "Subject" "??????????????????") { fileinto "INBOX/&AQUBBwEZAUIBRADzAVsBegF8AQQBBgEYAUEBQwDTAVoBeQF7-"; } dovecot log: Apr 5 15:17:42 mailer dovecot: lmtp(54203, test at test1.com): rmHVJHabfU+70wAA9hAjDg: sieve:
2015 Jan 31
2
[LLVMdev] debug info for llvm::IntrinsicInst ???
...return false; > 1533 > 1534 case Instruction::Call: > 1535 return selectCall(I); > 1536 > 1537 case Instruction::BitCast: > 1538 return selectBitCast(I); > 1539 > (gdb) call I->dump() > %2 = call float @llvm.powi.f32(float %0, i32 %1) > (gdb) > (gdb) print *I > $12 = {<llvm::Value> = { > _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = > 0x61035c0, > UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, > SubclassID = 68 '...
2012 Apr 12
2
vacation plugins for squirrelmail
Hi, I am afraid I have a question to ask of you all. I have just completed setting up a mail server running on Ubuntu Server 10.04. It has postfix, dovecot 1.2.19, LDAP and squirrelmail as the webmail. I have also created virtual users accounts on the system through LDAP. I can send and receive mails which is great. Now, what I am trying to do is to set up a vacation auto-reply on the
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
...s not handled yet. > 1532 return false; > 1533 > 1534 case Instruction::Call: > 1535 return selectCall(I); > 1536 > 1537 case Instruction::BitCast: > 1538 return selectBitCast(I); > 1539 > (gdb) call I->dump() > %2 = call float @llvm.powi.f32(float %0, i32 %1) > (gdb) > (gdb) print *I > $12 = {<llvm::Value> = { > _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = > 0x61035c0, > UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 > 'D', > HasValueHan...
2013 Feb 07
5
[LLVMdev] [NVPTX] We need an LLVM CUDA math library, after all
...Justin Holewinski <justin.holewinski at gmail.com>: > On 09/06/2012 10:02 AM, Dmitry N. Mikushin wrote: >> >> Dear all, >> >> During app compilation we have a crash in NVPTX backend: >> >> LLVM ERROR: Cannot select: 0x732b270: i64 = ExternalSymbol'__powisf2' >> [ID=18] >> >> As I understand LLVM tries to lower the following call >> >> %28 = call ptx_device float @llvm.powi.f32(float 2.000000e+00, i32 %8) >> nounwind readonly >> >> to device intrinsic. The table llvm/IntrinsicsNVVM.td does not cont...
2015 Jan 31
0
[LLVMdev] debug info for llvm::IntrinsicInst ???
...return false; >> 1533 >> 1534 case Instruction::Call: >> 1535 return selectCall(I); >> 1536 >> 1537 case Instruction::BitCast: >> 1538 return selectBitCast(I); >> 1539 >> (gdb) call I->dump() >> %2 = call float @llvm.powi.f32(float %0, i32 %1) >> (gdb) >> (gdb) print *I >> $12 = {<llvm::Value> = { >> _vptr$Value = 0x60c67f0 <vtable for llvm::CallInst+16>, VTy = >> 0x61035c0, >> UseList = 0x61d3310, NameAndIsUsedByMD = {Value = 0}, SubclassID = 68 >> '...
2018 May 09
0
more reassociation in IR
...ndset included a (naive) belief that going with a > canonical form was better than teaching redundancy elimination to handle > abstractions (as a matter of separation of concerns). I think that that > was a failed experiment at this point :-). We should still canonicalize > x*x*x into powi, but the more aggressive canonicalization (like > distribution) shouldn’t be used IMO. > > -Chris > > > > That particular issue is solvable in other ways, because there are good > ways to integrate reassociation into CSE/GVN (and at this point, it would > probably be chea...
2002 Nov 08
2
Hosts files
Hi, I have put entries into the "hosts" file for all the machines which need to connect to our Samba server. Everything seems to be working correctly but I'm curious.... can anyone tell me what the other files "hosts.deny" and "hosts.allow" are for. Thanks Mike