Displaying 20 results from an estimated 1000 matches similar to: "[RFC] Potential extension to asm statement functionality"
2019 Feb 12
3
[RFC] Potential extension to asm statement functionality
The team I am working with is using asm statements containing label definitions as a way of instrumentation so that when an application is loaded into their debug and test framework, the labels will cause breakpoints to be set at strategic points where they can query the state of the processor that the application is running on.
~ Todd
From: Eli Friedman [mailto:efriedma at quicinc.com]
Sent:
2019 Feb 14
3
[RFC] Potential extension to asm statement functionality
Hi Paul,
Regarding the "No Touchie!" constraint idea for asm statements: would this be a new qualifier (like volatile) that could be applied to the asm statement?
Since the constraint is not necessarily associated with an input or output operand, it seems that introducing the constraint via the qualifier field might work.
All,
The volatile qualifier on an asm statement already
2015 May 22
1
returnValue()
In R devel rev.66393 (2014-08-15) it was possible to do this:
trace(optim, exit = quote(str(returnValue())))
but returnValue() does not seem to be available any more. The above
was useful to get the output of a function when it was called deep
within another function that I have no control over.
Has this been replaced by some other equivalent function?
P.S. This demonstrates that it no
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi All,
My codegen is trying to generate some thing like this:
entry:
....
%34 = icmp ne i32 %33, 15
br i1 %34, label %then, label %else
then: ; preds = %entry
%returnValue = or i1 true, false
....
br label %ifmerge
else: ; preds = %entry
br label %ifmerge
ifmerge:
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi,
>> entry:
>> ....
>> %34 = icmp ne i32 %33, 15
>> br i1 %34, label %then, label %else
>>
>> then: ; preds = %entry
>> %returnValue = or i1 true, false
>> ....
>> br label %ifmerge
>>
>> else: ; preds = %entry
>> br label
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
On Mon, Jun 13, 2011 at 5:33 PM, Cuong Pham <phamcuongbk at gmail.com> wrote:
>
> Hi All,
>
> My codegen is trying to generate some thing like this:
>
> entry:
> ....
> %34 = icmp ne i32 %33, 15
> br i1 %34, label %then, label %else
>
> then: ; preds = %entry
> %returnValue = or i1 true, false
> ....
>
2014 Jul 29
2
[LLVMdev] to lower "write to argument pointer"
Drear there:
The problem I have is to lower an intrinsic function like this
”
float @llvm.write.arg(flaot %src, float* %dst)
“
I am lowering it with INTRINSIC_W_CHAIN, so the return value and the value to write to dst are generated with some operations using src:
"
// it is the frame index node corresponding to input pointer
SDvalue frindex = Op.getoperand(3);
…
SDValue returnValue =
2008 Mar 17
2
NoMethodError (...occurred while evaluating nil.split)
I am getting a NoMethodError, with the following decription:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split
The error is raised on function call line of the ''.html.erb'' file.
The function is present in the relevant ''helper.rb'' file and contains
the
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
On Thu, Sep 22, 2011 at 3:46 PM, sarath chandra <sarathcse19 at gmail.com>wrote:
> Hi James,
>
> First i converted the void * to int* and then did FPToSI...then did SHL...(
> because CreateShl only accepts integers... i pointer casted it to int64 type
> first)... Below is the code snippet....
>
>
> lhs = mBuilder.CreateStructGEP(firstArg, 0);
> lhs =
2017 May 09
3
R-3.3.3/R-3.4.0 change in sys.call(sys.parent())
Some formula methods for S3 generic functions use the idiom
returnValue$call <- sys.call(sys.parent())
to show how to recreate the returned object or to use as a label on a
plot. It is often followed by
returnValue$call[[1]] <- quote(myName)
E.g., I see it in packages "latticeExtra" and "leaps", and I suspect it
used in "lattice" as well.
This idiom
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
Hi Sarath,
It would have really helped if you had removed the commented out code and inlined the calls to your homemade helper functions before sending it...
You are doing this, in LLVM IR:
%0 = getelementptr %Value* %firstArg, i32 0 ; i8**
%1 = load i8** %0 ; i8*
%2 = bitcast i8* %1 to i64*
%3 = getelementptr %Value* %secondArg, i32 0 ; i8**
%4 = load i8** %3; i8*
%5 = bitcast i8* %4 to i64*
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
Yeah, that's the fault...got the answer...... Thanks James for the help...
Struggling with this for so many days.......
On Thu, Sep 22, 2011 at 4:02 PM, James Molloy <James.Molloy at arm.com> wrote:
> Hi Sarath,****
>
> ** **
>
> It would have really helped if you had removed the commented out code and
> inlined the calls to your homemade helper functions before
2017 May 11
1
R-3.3.3/R-3.4.0 change in sys.call(sys.parent())
Here is a case where the current scheme fails:
> with(datasets::mtcars, xyplot(mpg~wt|gear)$call)
xyplot(substitute(expr), data, enclos = parent.frame())
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, May 11, 2017 at 1:09 AM, Deepayan Sarkar <deepayan.sarkar at gmail.com>
wrote:
> On Wed, May 10, 2017 at 2:36 AM, William Dunlap via R-devel
> <r-devel at
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) {
if (event.preventDefault) {
event.stopPropagation();
event.preventDefault();
} else {
event.returnValue = false;
event.cancelBubble = true;
}
}
/* br original
stop: function(event) {
Event.extend(event);
event.preventDefault();
event.stopPropagation();
event.stopped = true;
}
*/
};
2020 May 01
2
[EXTERNAL] Re: arc diff says "disk is full"?
Could this issue also be related to an “AphrontQueryException #1030: Got error 28 from storage engine” error when browsing Phabricator?
~ Todd Snider
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Hubert Tong via llvm-dev
Sent: Friday, May 1, 2020 9:15 AM
To: Mircea Trofin
Cc: Nicolai Hähnle via llvm-dev
Subject: [EXTERNAL] Re: [llvm-dev] arc diff says "disk is
2019 Mar 14
4
[RFC] We are running out of slots in the Attribute::AttrKind enum
I would like to add a target-dependent attribute to the LLVM IR, and the guidance in http://llvm.org/docs/HowToUseAttributes.html says that target-dependent attributes should not occupy a slot in the Attribute::AttrKind enum, but I have yet to find an attribute that is represented in the IR that does not also have a slot in the AttrKind enum.
We are limited to 63 slots in the AttrKind enum
2019 May 09
3
[EXTERNAL] Re: RFC - a proposal to support additional symbol metadata in ELF object files in the ARM compiler
*From: *Snider, Todd <t-snider at ti.com>
*Date: *Thu, May 9, 2019 at 3:53 AM
*To: *Rui Ueyama, James Y Knight
*Cc: *llvm-dev
>
> James, Rui,
>
>
>
> If we are only talking about addressable hardware registers, peripherals,
> etc., then the absolute address symbol is one way to facilitate access to a
> symbol associated with a specific address.
>
>
>
>
2019 Jul 30
2
Invalid DW_AT_calling_convention generated for a DW_TAG_class_type
In llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp, the compiler can emit a DW_AT_calling_convention attribute with a DW_TAG_class_type (and it looks like a DW_TAG_variant_part, DW_TAG_structure_type or DW_TAG_union_type as well), but the DWARF 4 specification says that DW_AT_calling_convention is not a valid attribute for any of those three DWARF tags.
Downstream object consumers that check to verify
2019 May 07
2
[EXTERNAL] Re: RFC - a proposal to support additional symbol metadata in ELF object files in the ARM compiler
I have the same question as James has. It seems to me that you can name any
address using an absolute symbol, and that should suffice to handle
memory-mapped peripherals and such. If you really need to define data
(whether it's in .data or .bss) or a function at a fixed memory address,
that's not something you can do with absolute symbols (but you can do with
linker scripts), but is this
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
Thank you guys, now I understand the problem.
I am trying to avoid using stack memory (or mutable variable is the term
used in the tutorial). I am also trying to optimize the code as much as I
can before using optimizer passes such as mem2reg (to reduce the compile
time as well).
With regards,
--Cuong
Duncan Sands wrote:
>
> Hi,
>
>>> entry:
>>> ....
>>>