Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] RE:RE: Question about inserting instructions"
2005 May 12
0
[LLVMdev] Re: RE:RE: Question about inserting instructions
Hi,
One more thing I just realized for the method Chris mentioned.
>Actually that's not true. You can make instructions with an asmstring of:
>
> ".byte 123\n .byte 56\n .byte 86" and those bytes will get emitted to
>the code stream.
It seems to work on generating binary file since it uses asmstring, right?
There are two steps related with binary file operation,
2005 May 11
0
[LLVMdev] Re:RE: Question about inserting instructions
On Wed, May 11, 2005 at 01:30:29PM -0700, Qiuyu Zhang wrote:
[snip]
> push %eax
> das
> clc
>
> all of them are legal one-byte x86 machine instructions.
[snip]
> If there is a way to be able to get that, I am supposed that like
> the following,
>
> 1. generate some dummy BB on IR level ( working on *.bc by writing a
2005 May 11
2
[LLVMdev] Re:RE: Question about inserting instructions
Hi,
Thanks Volodya, Misha and Chris,
> > For example,
> > Correct way:
> > Instruction *NewInst = new LoadInst(...);
> > NewBB->getInstList().push_back(NewInst);
> >
> > what I need just put some junk data in the BB, not instructions. From
> > assemble code level, it looks like the following,
> >
> > a piece of code from
2013 Apr 12
2
model frame and formula mismatch in model.matrix()
Hello everyone,
I am trying to fit the following model
All X. variables are continuous, while the conditions are categoricals.
model <- lm(X2
2009 Jun 24
2
change the height or scale of the y axis
Hallo, All,
I have a question about changing the height or scale of the y axis. When I
use following two R codes, I can get two plots. Please look at the y axes,
the number of indices (x1, x2, ?) on the y axis in the first plot is smaller
than that in the second plot, and hence the space between any two indices in
the first plot is wider than that in the second plot. As the number of
indices
2005 May 11
3
[LLVMdev] Question About inserting Instruction?
Hi,
I am working on a project with LLVM. What I need to do is to generate/insert some dummy/dead basic blocls which never have chance to be executed and put some instructions in those dummy/dead basic blocks.
So far, the dummy/dead BB insertion is done. I am trying insert instructions in those dummy/dead BB. Actually, I can insert the legal instructions to dummy/dead BB, however, I really want
2012 May 25
2
Query about creating time sequences
Hi All,
I have a query about time based sequences. I know such questions have been
asked a lot on forums, but I couldnt find the exact thing that I was
looking for.
I want to create a time-based sequence which will mimic the trading window
AND would span multiple days. Something like below:
"2011-01-03 09:15:00 IST"
"2011-01-03 09:15:01 IST"
....
....
....
"2011-01-03
2005 Feb 03
0
[LLVMdev] question about compile path
Qiuyu Zhang wrote:
> Hi,
>
> I have a question about install path.
> Some one installs llvm1.4 under /opt/llvm as root. However, when I
> create a project under my home directory, I cannot do Make correctly. It
> should be enviroment issue, but I cannot fix it.
This should be possible.
The easiest way to do this is to copy one of the samples in
llvm/projects (such as
2005 Feb 03
2
[LLVMdev] question about compile path
Hi,
I have a question about install path.
Some one installs llvm1.4 under /opt/llvm as root. However, when I create a project under my home directory, I cannot do Make correctly. It should be enviroment issue, but I cannot fix it.
The environment is as the following,
/opt/llvm : // llvm 1. 4
/home/qiuyu/ ://my home directory
/home/qiuyu/project/statBB ://my project directory
I create a
2007 Nov 08
3
'a' extension
Is there any way to see the called number when a call gets redirected to
the 'a' extension from voicemail? Say x123 calls x456 and it rolls to
voicemail. x123 hits * and gets dumped into the 'a' extension in the
original context. I need some logic in 'a' to do a database lookup
based on the original called number (x456). Any ideas? When I do a
test, it appears
2005 Jan 27
1
[LLVMdev] Question about inserting IR code
Hi,
From the file HowToUseJIT.cpp, I learned how to insert some calcuation IR code like Add/Sub/Mul etc by using
Instruction *Add = BinaryOperator::createAdd(One, ArgX, "addresult", BB);
By following this way, it works well when I insert some IR code whose operand is integer type like IntTy, however, when I tried to insert similar thing whose operands are float point, I got the
2007 Dec 17
2
Music On Hold
Hello everyone,
I am having a bit of problem getting MusicOnhold to play.
I am running Asterisk 1.4 with MPG123 0.59 installed.
And here's what i see in the debugging window of asterisk:
-- Started music on hold, class 'default', on channel
'SIP/x123-082043d0'
-- Stopped music on hold on SIP/x123-082043d0
Any idea why it is not playing the file at all?
thanks
2009 Mar 16
2
[LLVMdev] MachO and ELF Writers/MachineCodeEmittersarehard-codedinto LLVMTargetMachine
>> Sorry, I disagree actually the MachineCodeEmitter or the
>> 'MachineCodeWritter' does not do any file handling at all. Do look at the
>> code for the MachineCodeWritter and you will see it only writes to memory
>> and if it reaches the end of the allotted memory I believe higher ordered
>> logic reallocates a larget buffer and starts again from scratch.
2020 Sep 10
2
aplicar codigo
Yo copio y pego este código y me sale correctamente. Se me ocurre que
pueda deberse a la versión de R ¿cuál usas?
El 10/09/2020 a las 17:51, Samura . escribió:
> Gracias por las respuestas.
>
> Probé lo de hacer la función y no me salía. Pensaba que hacía algo mal.
> Ahora con el código de Marcelino tampoco me sale.
>
> col1 <- c('x1', 'x2', 'x11',
2005 Sep 08
5
data manipulation
Dear All,
I would be grateful if you can help me. My problem is the following:
I have a data set like:
ID time X1 X2
1 1 x111 x211
1 2 x112 x212
2 1 x121 x221
2 2 x122 x222
2 3 x123 x223
where X1 and X2 are 2 covariates and "time" is the time of observation and ID indicates the
2009 Mar 16
0
[LLVMdev] MachO and ELF Writers/MachineCodeEmitters arehard-codedinto LLVMTargetMachine
> Sorry, I disagree actually the MachineCodeEmitter or the
> 'MachineCodeWritter' does not do any file handling at all. Do look at the
> code for the MachineCodeWritter and you will see it only writes to memory
> and if it reaches the end of the allotted memory I believe higher ordered
> logic reallocates a larget buffer and starts again from scratch. This could
> be
2009 May 28
0
[LLVMdev] JITCodeEmitter patch - up for comments
This is the JITCodeEmitter patch, this is to facilitate cordening off the
JIT code from the
future direct object emission code (i) supporting the upcoming
ObjectCodeEmitter
class, on the X86, ARM, Alpha, and PowerPC platforms. This involves generic
parameterization of backend code emitters to allow code emission to allotted
class types, JITCodeEmitter and ObjectCodeEmitter.
2009 Mar 16
1
[LLVMdev] MachO and ELF Writers/MachineCodeEmitters arehard-codedinto LLVMTargetMachine
> Sorry, I disagree actually the MachineCodeEmitter or the
> 'MachineCodeWritter' does not do any file handling at all. Do look at the
> code for the MachineCodeWritter and you will see it only writes to memory
> and if it reaches the end of the allotted memory I believe higher ordered
> logic reallocates a larget buffer and starts again from scratch. This could
> be
2006 Feb 27
0
[LLVMdev] Directly generating binary file
On Mon, 27 Feb 2006, Vladimir Prus wrote:
> I'm looking for a way to make the the "llc" tool (or any other tool),
> directly produce a binary file for some target.
ok
> The TargetMachine class has a method 'addPassesToEmitMachineCode', that's
> suitable for that, but that method also requires an instance of
> MachineCodeEmitter.
Actually, you probably
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
On Apr 7, 2008, at 3:02 AM, Nicolas Geoffray wrote:
> Hi Evan,
>
> Evan Cheng wrote:
>>
>> I don't think the duplication is going to be top much of a problem.
>> If
>> it is, I'll bug you about refactoring. :)
>>
>>
>
> I don't mean to show how lazy I can be, but I also need to know the
> size
> of the exception table