Displaying 20 results from an estimated 20000 matches similar to: "console hangs after migration"
2014 Jun 05
0
Question about voltage threshold setting in NUT
Hey Charles,
Latest update. Looks like in ups.conf I setup default.input.transfer.low =
84. After I took that line out, restart upsdrvctl, upsmon, and upsd, the
command of
sudo upsrw -s input.transfer.low=70 -u * -p * ups
return OK. Still need to verify if it works by using voltage regulator and
will keep you updated.
Thank you for your help
Regards
Shen
On Thu, Jun 5, 2014 at 8:54 AM,
2010 Apr 12
0
[LLVMdev] Why function pointer is different from other data type?
"float (i32)* (float (i32)*)*" is not a return type.
According to the description of the 'call' instruction in LLVM Assembly
Language Reference Manual (http://llvm.org/docs/LangRef.html#i_call) this
is a signature of the pointer to function value being invoked (which
includes the return type). In your case the full signature is printed
because get_ptr returns a pointer to
2010 Apr 12
2
[LLVMdev] Why function pointer is different from other data type?
I'm sorry that I should remove the comment.
In fact my question is about the "float (i32)* (float (i32)*)*", why
we use this kind of return type instead of just "float (i32)*".
Thanks a lot.
Hao
On Mon, Apr 12, 2010 at 5:42 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Hao Shen,
>
>> %4 = call float (i32)* (float (i32)*)* @get_ptr(float (i32)* @a1)
2014 Jun 18
2
Question about recycle power of Tripp Lite UPS
Hello Charles,
Thank you for your comment. Just tried to use ups.delay.shutdown to
postpone the UPS shutdown. The thing is that if the PC shutdown first, then
the UPS, it wasn't able to send "shutdown.reboot" any more because
everything is power off after the UPS shuts down.
Also play on the watchdog for Tripp Lite. Looks like it has the command of
reset.watchdog but not
2018 Nov 14
2
Fw: How to define an instruction
Thank you for answering my confusion.
I have another questions.
If I add really instructions instead intrinsics ,can I reach my purpose?
I guess ,the answer is "can't". I don't find the anything about how machine to do about instructions,especially "ALU" instructions.
Thank you again,
Tianhao Shen
On 11/14/2018 13:42,Craig Topper<craig.topper at gmail.com>
2017 Apr 19
2
RPC on LLVM IR: any example programs for this?
Hi Lang,
Thanks for your reply! It seems that the code of ORC has been changed a lot
these months. Actually what I wanted to see then was quite simple, Let's
say we have two modules M1.bc and M2.bc, and in M1 we want to call function
foo(defined in M2.bc)with the function type
int foo(float, char*){...}
what basic steps do I need to do to make M1.bc call foo remotely?
BTW, does the
2015 Jul 18
4
[LLVMdev] How can i differentiate pointer type int 32* from int 32** ?
John, thanks for your helpful advice.
My ultimate goal is to construct a full instruction-level program
dependence graph for a given IR file. The hard point is how to establish
the correct data dependence edges when some function arguments are
multi-level pointers. To solve this problem I hope to check the point-to
level for each pointer variable. I think the data dependence through
pointers can
2010 May 12
1
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
On Mon, May 10, 2010 at 7:19 PM, John Criswell <criswell at uiuc.edu> wrote:
> SHEN Hao wrote:
>> Thanks a lot for your answer.
>> As what you said, I can not have any options to avoid generating this kind
>> of intrinsic for byte code. Is it possible to modify gcc and ask it take
>> all memset liked functions as a general function call? I know this solution
2015 Apr 29
2
[LLVMdev] AliasAnalysis calling failed in Pass interaction
Dear LLVM developers,
I am Shen, a PhD student at Lehigh Univ. PA. Now I am implementing a
Program Dependence Graph(PDG) on LLVM. I have 4 passes here:
1. ProgramDependenceGraph (a *ModulePass *on the highest level)
2. DataDependenceGraph (a Intermediate *FunctionPass*).
3. FlowDependenceAnalysis Pass (a intermediate *FunctionPass*) which uses
llvm built-in AliasAnalysis (-basicaa)
4.
2014 Jun 05
2
Question about voltage threshold setting in NUT
Hello Charles,
Thank you so much for your help. Just run upsc and it is possible that
input.transfer.low is the one because we used power regulator to bring down
the power around 84v and then the ups sent the power loss message to PC. Do
you think some others may take effect for the low voltage? Just have the
upsc result attached.
Then I retried input.transfer.low, default.input.transfer.low,
2010 Jun 07
2
[LLVMdev] i80 data type
On Mon, Jun 7, 2010 at 5:49 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Hao Shen,
>
>> Is there anyone who knows well i80 data type? Is there any
>> corresponding data type
>> for X86 processor? uint80_t or int80_t for gcc?
>
> no, there is no native processor support for i80. GCC does not have
> a direct equivalent to i80. However if you declare a
2018 Nov 14
2
Fw: How to define an instruction
--------- Forwarded Message ---------
From: Tianhao Shen <17862703959 at 163.com>
Date: 11/14/2018 09:31
To: craig.topper at gmail.com <craig.topper at gmail.com>
Subject: Re: [llvm-dev] How to define an instruction
Hi, Craig
Thank you for replying to me.
I guess that you misunderstand my meaning about "can'r run". I just want to run my instruction by LLVM using the
2015 Jul 17
2
[LLVMdev] How can i differentiate pointer type int 32* from int 32** ?
John, thanks for you answer! But as far as I know LLVM doesn't provide any
interface for finding the pointee of a pointer directly, so i have to
process a multi-level pointer i need to write my own function to check
pointers level by level, is that right?
On Fri, Jul 17, 2015 at 1:47 PM, John Criswell <jtcriswel at gmail.com> wrote:
> On 7/17/15 12:38 PM, Shen Liu wrote:
>
>
2017 Oct 22
2
Replace "while" "for" loops with "If-Else"
Hi weiren,
Thanks for your suggestion! Yes, I am trying to do this "nested
flattening". It seems that I need a post-dominator tree-based algorithm to
flatten the nested loops from the innermost to the outermost, level by
level.
Is there any feature already existed in LLVM tools? Or similar?
On Sun, Oct 22, 2017 at 2:31 AM, 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> If
2016 Mar 16
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
I implemented a proof of concept of a new generic MachineFunction SSA pass.
The code is not readable and not efficient yet, but it shows interesting
results:
In fma.ll @test_FMSUB2 (return dummy(A * B + C, A * B - D)):
before:
fmr 0, 1
xsmaddadp 3, 0, 2
xsmsubmdp 0, 2, 4
fmr 1, 3
fmr 2, 0
bl dummy2
after:
xsmsubadp 4, 1, 2
xsmaddmdp
2012 Apr 12
2
domU NAT network cannot connect
Hi,
I followed this
guide<http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2>,
and started my xend service with nat-network support:
(network-script network-nat)
(vif-script vif-nat)
Then I started my domU with the following vif configure:
vif = [''ip=10.0.0.1'' ]
my domU is a win7 system, and I configured the network as:
ip:
2012 May 11
3
How to specify multiple regular expressions for pattern argument
Dear list,
I want to show all the objects starting with "d" and ending with a digit.
How do I specify these conditions in the pattern argument
I can do one condition but not two
ls(pattern='^d')
ls(pattern='[[:digit:]]$')
are working.
But,
ls(pattern='^d'&'[[:digit:]]$') is not working.
Appreciate any comment.
Jun Shen
[[alternative HTML
2016 Feb 29
2
[VSXFMAMutate] OldFMAReg may be wrongly rewritten
Ping?
On Mon, Feb 22, 2016 at 1:06 PM Tim Shen <timshen at google.com> wrote:
> On Fri, Feb 19, 2016 at 5:10 PM Tim Shen <timshen at google.com> wrote:
>
>> I wonder if we can fix this by making the transformation simpler, that
>> is, instead of doing:
>>
>
> I wrote a prototype (see attach) for this idea, it actually improves some
> of the test cases
2017 Aug 02
2
CUDA compilation "No available targets are compatible with this triple." problem
Yes, I followed the guide. The same error showed up:
>clang++ axpy.cu -o axpy --cuda-gpu-arch=sm_35 -L/usr/local/cuda/lib64 -I/usr/local/cuda/include -lcudart_static -ldl -lrt -pthread
error: unable to create target: 'No available targets are compatible with this triple.'
________________________________
From: Kevin Choi <code.kchoi at gmail.com>
Sent: Wednesday, August 2,
2012 Apr 07
3
xenstored cannot start
Hi,
My base system is Gentoo x64, and I compiled my kernel with Xen
paravirtualization support. The kernel can boot without any problem in
native mode. But when boot in Xen mode, I cannot start the xenstored
service. This is my grub config file:
title Gentoo x64 kernel-3.2.11-gentoo
root (hd0,2)
kernel
/boot/kernel-3.2.11-gentoo root=UUID=38213e99-588e-4a7d-a215-8835f7afb1c4\