Displaying 20 results from an estimated 800 matches similar to: "files on bricks but not on client"
2012 Mar 06
2
Calling FORTRAN function from R issue?
Hello,
I am trying to call the BLAS Level1 function zdotc from R via
a .C call like this:
#include "R.h"
#include "R_ext/BLAS.h"
void testzdotc() {
Rcomplex zx[3], zy[3], ret_val;
zx[0].r = 1.0; zx[0].i = 0.0;
zx[1].r = 2.0; zx[0].i = 0.0;
zx[2].r = 3.0; zx[0].i = 0.0;
zy[0].r = 1.0; zy[0].i = 0.0;
zy[1].r = 2.0; zy[0].i = 0.0;
zy[2].r = 3.0;
2013 May 12
0
[LLVMdev] LLVM ERROR: Cannot select
Hi ZY,
On 11/05/13 22:21, Zhiyuan Ren wrote:
> Duncan,
>
> here is part of the assembly around the problem area. I used gcc -S -flto to
> generate the .s file, llvm-as on the .s fiile will show error: invalid cast
> opcode for cast from 'i40' to 'float' %638 = trunc i40 %637 to float
>
> %633 = bitcast i8* %632 to float*
> %634 = bitcast float* %633 to
2013 May 11
3
[LLVMdev] LLVM ERROR: Cannot select
Duncan,
here is part of the assembly around the problem area. I used gcc -S -flto
to generate the .s file, llvm-as on the .s fiile will show error: invalid
cast opcode for cast from 'i40' to 'float' %638 = trunc i40 %637 to float
%633 = bitcast i8* %632 to float*
%634 = bitcast float* %633 to i40*
%635 = load i40* %634, align 1
%636 = shl i40 %635, 7
%637 = ashr i40
2013 May 11
0
[LLVMdev] LLVM ERROR: Cannot select
Hi ZY,
On 11/05/13 20:37, Zhiyuan Ren wrote:
> Duncan,
>
> Thanks for getting back to me. I am not sure how to find the original bitcode
> (and related Ada source code) that causes the truncate. This is the error
> message that gcc gave me when I tried to compile an Ada source file using
> dragonegg plugin (gcc -c -fplugin...).
use -S instead of -c and add -flto
The resulting
2013 May 11
2
[LLVMdev] LLVM ERROR: Cannot select
Duncan,
Thanks for getting back to me. I am not sure how to find the original
bitcode (and related Ada source code) that causes the truncate. This is the
error message that gcc gave me when I tried to compile an Ada source file
using dragonegg plugin (gcc -c -fplugin...).
ZY
ps, sorry for multiple emails, trying to find out how to reply to a thread
in the mailing list
On Sat, May 11, 2013 at
2018 Jan 17
3
always allow canonicalizing to 8- and 16-bit ops?
Example:
define i8 @narrow_add(i8 %x, i8 %y) {
%x32 = zext i8 %x to i32
%y32 = zext i8 %y to i32
%add = add nsw i32 %x32, %y32
%tr = trunc i32 %add to i8
ret i8 %tr
}
With no data-layout or with an x86 target where 8-bit integer is in the
data-layout, we reduce to:
$ ./opt -instcombine narrowadd.ll -S
define i8 @narrow_add(i8 %x, i8 %y) {
%add = add i8 %x, %y
ret i8 %add
}
But on
2013 May 11
0
[LLVMdev] LLVM ERROR: Cannot select
Hi ZY,
On 10/05/13 22:34, Zhiyuan Ren wrote:
> Hello, I am new to LLVM and doing some experiment with 3.2 on Ada code. Can
> anyone help me on the following error message?
a truncate from an i32 to an f32 is not valid. This caused the code generator
to abort. What is the original bitcode that caused this?
Ciao, Duncan.
>
> Thanks,
> ZY
>
>
> LLVM ERROR: Cannot select:
2011 Dec 03
2
density function always evaluating to zero
Dear R users,
I'm trying to carry out monte carlo integration of a posterior density
function which is the product of a normal and a gamma distribution. The
problem I have is that the density function always returns 0. How can I
solve this problem?
Here is my code
#generate data
x1 <- runif(100, min = -10, max = 10)
y <- 2 * x1^2 + rnorm(100)
# # # # # # # # Model 0 # # # # # # #
2018 Jan 22
0
always allow canonicalizing to 8- and 16-bit ops?
Hello
Thanks for looking into this.
I can't be very confident what the knock on result of a change like that would be,
especially on architectures that are not Arm. What I can do though, is run some
benchmarks and look at that results.
Using this patch:
--- a/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -150,6 +150,9 @@
2018 Jan 22
2
always allow canonicalizing to 8- and 16-bit ops?
Thanks for the perf testing. I assume that DAG legalization is equipped to
handle these cases fairly well, or someone would've complained by now...
FWIW (and at least some of this can be blamed on me), instcombine already
does the narrowing transforms without checking shouldChangeType() for
binops like and/or/xor/udiv. The justification was that narrower ops are
always better for
2013 May 12
2
[LLVMdev] LLVM ERROR: Cannot select
Duncan,
Is there a way (switch) for embedding original source code in the generated
.s file?
thanks,
ZY
On Sun, May 12, 2013 at 4:12 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi ZY,
>
>
> On 11/05/13 22:21, Zhiyuan Ren wrote:
>
>> Duncan,
>>
>> here is part of the assembly around the problem area. I used gcc -S -flto
>> to
>> generate
2013 May 10
2
[LLVMdev] LLVM ERROR: Cannot select
Hello, I am new to LLVM and doing some experiment with 3.2 on Ada code. Can
anyone help me on the following error message?
Thanks,
ZY
LLVM ERROR: Cannot select: 0xa7a0bf0: f32 = truncate 0xa7a5ea8 [ID=24]
0xa7a5ea8: i32 = X86ISD::SHLD 0xa790280, 0xa790390, 0xa76e088 [ID=22]
0xa790280: i32,ch = load 0xa7386a0, 0xa7a68d8, 0xa7a5628<LD1[%1482+4],
anyext from i8> [ID=19]
2013 May 12
1
[LLVMdev] LLVM ERROR: Cannot select
Duncan,
Is there a way to link or trace .s code to certain lines in the original
source code?
Thanks,
ZY
On Sun, May 12, 2013 at 12:01 PM, Duncan Sands <baldrick at free.fr> wrote:
> On 12/05/13 18:01, Zhiyuan Ren wrote:
>
>> Duncan,
>>
>> Is there a way (switch) for embedding original source code in the
>> generated .s file?
>>
>
> No.
>
2011 Sep 06
2
Q and R mode in Principal Component Analysis
Hi,
Can anyone explain me the differences in Q and R mode in Principal Component
Analysis, as performed by prcomp and princom respectively.
Regards
L?vio Cipriano
2014 Dec 11
2
[LLVMdev] How to get the original function name in C++?
If you want to get the original name by a library function, as Jonathan
mentioned, you can call __cxa_demangle in cxxabi.h. However, this API is
only available in gcc. If you want something more portable, try glog or
libibert, notice libibert is GPL licensed.
On Thu, Dec 11, 2014 at 7:57 AM, Roel Jordans <r.jordans at tue.nl> wrote:
> When a C++ compiler translates source code it will
2013 Jan 04
4
syslinux 5.00 does not build
I am trying to build an RPM starting from the TAR archive. The relevant
error is:
make[1]: Entering directory
`/tmp1/Software/rpmbuild/BUILD/syslinux-5.00/libinstaller'
perl bin2c.pl syslinux_bootsect < ../core/ldlinux.bss > bootsect_bin.c
perl bin2c.pl syslinux_ldlinux 512 < ../core/ldlinux.sys > ldlinux_bin.c
perl bin2c.pl syslinux_mbr < ../mbr/mbr.bin > mbr_bin.c
perl
2002 Nov 06
1
Daily smb_trans2_request errors
Every morning at 2:02am, and 6:25am, I get the following two lines in my /var/log/messages:
Nov 6 06:25:15 borgCube kernel: smb_trans2_request: result=-104, setting invalid
Nov 6 06:25:16 borgCube kernel: smb_retry: successful, new pid=28929, generation=37
The pid always stays the same, and generation increases by 1 everytime it happens.
Currently I got one share from a W2K computer mounted
2014 Dec 11
5
[LLVMdev] How to get the original function name in C++?
Hi, everyone!
I'm new here trapped by a simple problem for days.
When LLVM translates C++ source code to IR, it will add a prefix to the
function name. For example:
source code:
int foo(){
return 1;
}
IR form:
define i32 @_Z3foov() #0 {
entry:
ret i32 1, !dbg !20
}
The getName() method returns _Z3foov, then how can I get foo? I know
the debugging information is contained in
2007 Mar 26
1
authentication process fails when starting 2nd dovecot
Hello,
With dovecot running already, (accidently) starting another dovecot seems to
break the authentication process of the first dovecot. Login will be
impossible untill dovecot is restarted.
# dovecot
Fatal: listen(143) failed: Address already in use
## Wait several seconds.
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot
2011 Dec 08
0
[hivex] [PATCH 1/8] Add test hive and generator script
Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu>
---
images/mkrlenvalue_test_hive.py | 37 +++++++++++++++++++++++++++++++++++++
images/rlenvalue_test_hive | Bin 0 -> 12288 bytes
2 files changed, 37 insertions(+), 0 deletions(-)
create mode 100755 images/mkrlenvalue_test_hive.py
create mode 100644 images/rlenvalue_test_hive
diff --git a/images/mkrlenvalue_test_hive.py