search for: fsave

Displaying 20 results from an estimated 61 matches for "fsave".

Did you mean: save
2017 Sep 07
3
'-fsave-optimization-record' and VS2015 built compiler
Not 100% if this is an LLVM question or a CLang question, though I expect LLVM. On Linux, if I pass '-fsave-optimization-record' to 'clang', then it produces a '*.opt.yaml' file. However, the same thing run on Windows using 'clang' built with VS2015 silently ignores this option. Is this a bug or is it intentional? And if it is intentional, how can I configure and build on W...
2020 Apr 07
3
opt optimization
Is there any way to find if a optimization pass has passed in opt? In clang -fsave-optimzization-record would tell if particular optimization pass has applied or failed. Is there similar functionality in opt? Regards, Nethish. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200407/43f54dec...
2019 Nov 27
2
Optimization Record
I want to know all the optimization applied by the passes. I found two options in clang 1. -fsave-optimization-record 2. -Rpass-analysis=... However, they have nothing to do with the interaction btw IR files(.ll) Is there any tool that records all optimizations on IR file? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-...
2019 Jul 27
2
Help on Optimization Remarks
Dear llvm-dev community, I am trying to analyze the optimization remarks generated through clang using -fsave-optimization-remark with -O3. --- !Analysis Pass: loop-vectorize Name: CFGNotUnderstood DebugLoc: { File: c-ray-mt.c, Line: 177, Column: 2 } Function: main Args: - String: 'loop not vectorized: ' - String: loop control flow is not understood by vectorizer I tried to look for information...
2017 Aug 25
3
[5.0.0 Release] Please write release notes
...<anemet at apple.com> wrote: > Hi Hans, > > Opt-viewer is now installed rather than being an internal-only tool so here it goes: > > A new tool opt-viewer.py has been added to visualize optimization remarks in HTML. The tool processes the YAML files produced by clang with the -fsave-optimization-record option. > > Adam > >> On Aug 18, 2017, at 4:08 PM, Hans Wennborg via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Dear everyone, >> >> We're a couple of release candidates into the process, and the release >> notes are...
2017 Aug 28
5
[5.0.0 Release] Please write release notes
...gt;> Hi Hans, >>> >>> Opt-viewer is now installed rather than being an internal-only tool so here it goes: >>> >>> A new tool opt-viewer.py has been added to visualize optimization remarks in HTML. The tool processes the YAML files produced by clang with the -fsave-optimization-record option. >>> >>> Adam >>> >>>> On Aug 18, 2017, at 4:08 PM, Hans Wennborg via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>>> >>>> Dear everyone, >>>> >>>> We're a couple of release...
2018 Jun 05
2
How to get optimization remarks while testing with lnt in llvm
Hi, I'm new to llvm and am trying to run benchmarks from the test-suite using lnt to check loop-vectorization for various benchmarks. Test are compiling and executing fine, but I am not getting optimization remarks while using flags like -Rpass-missed=loop-vectorize and -Rpass-analysis=loop-vectorize I've tried running it like this: lnt runtest test-suite --sandbox SANDBOX --cc
2018 Feb 05
0
Dumping the static stack reservation sizes for functions
...tively close is: > > -warn-stack-size=<uint> > > Is there some existing way of getting this information emitted in an easily parsable way (e.g. in CSV form) , or will I need to add the capability? There is an optimization remark emitted (in YAML) for the stack size: $ clang -fsave-optimization-record foo.c $ cat foo.opt.yaml […] --- !Analysis Pass: prologepilog Name: StackSize DebugLoc: { File: foo.c, Line: 3, Column: 0 } Function: main Args: - NumStackBytes: '24' - String: ' stack bytes in function' ... […]...
2017 Aug 18
2
[5.0.0 Release] Please write release notes
Dear everyone, We're a couple of release candidates into the process, and the release notes are not in very good shape: http://prereleases.llvm.org/5.0.0/#rc2 If you committed anything noteworthy in the last six months, or saw someone else do it, please consider adding it to the release notes. People do read them. If you're responsible for a specific CPU target, please help give those
2018 Feb 05
2
Dumping the static stack reservation sizes for functions
I would like to be able to emit a list of functions by name and their fixed stack reservation size information, so that a programmer can gauge how much stack they are likely to need in tightly constrained embedded systems. Despite the rich number of options, the only option I can find that is even relatively close is: -warn-stack-size=<uint> Is there some existing way of getting this
2018 Feb 05
1
Dumping the static stack reservation sizes for functions
...tively close is: > > -warn-stack-size=<uint> > > Is there some existing way of getting this information emitted in an easily parsable way (e.g. in CSV form) , or will I need to add the capability? There is an optimization remark emitted (in YAML) for the stack size: $ clang -fsave-optimization-record foo.c $ cat foo.opt.yaml […] --- !Analysis Pass: prologepilog Name: StackSize DebugLoc: { File: foo.c, Line: 3, Column: 0 } Function: main Args: - NumStackBytes: '24' - String: ' stack bytes in function' ... […]...
2019 Jul 23
2
[RFC] Optimization Remark for derived function / argument attributes
Hello all, During the compilation process, LLVM automatically derives various attributes about functions and values (for example that a pointer is nonnull, a function is constant, etc) that are used within a translation unit. I propose adding a pass to LLVM that allows front-ends to output derived attributes. Such a pass would be useful both for developers and end users to debug programs,
2007 Dec 17
5
[PATCH 0/21] Integrate processor.h
Hi, This series integrate the processor.h header. There are a lot of things that are deeply architectural differences between architectures, but I've done my best to come to a settlement. With this series, I am very close to have selectable paravirt for x86_64, It applies ontop of today's x86 git, mm branch.
2007 Dec 17
5
[PATCH 0/21] Integrate processor.h
Hi, This series integrate the processor.h header. There are a lot of things that are deeply architectural differences between architectures, but I've done my best to come to a settlement. With this series, I am very close to have selectable paravirt for x86_64, It applies ontop of today's x86 git, mm branch.
2018 Nov 17
2
Finding which optimization passes have failed
Dear LLVM community, How to find out which optimization passes have been performed and which passes have failed? Regards, Pradeep Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181117/20c7ad68/attachment.html>
2007 Apr 18
2
[PATCH] Use correct macros in raid code, not raw asm
This make sure it's paravirtualized correctly when CONFIG_PARAVIRT=y. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> diff -r 4ff048622391 drivers/md/raid6x86.h --- a/drivers/md/raid6x86.h Thu Dec 28 16:52:54 2006 +1100 +++ b/drivers/md/raid6x86.h Fri Dec 29 10:09:38 2006 +1100 @@ -75,13 +75,14 @@ static inline unsigned long raid6_get_fp unsigned long cr0; preempt_disable();
2007 Apr 18
2
[PATCH] Use correct macros in raid code, not raw asm
This make sure it's paravirtualized correctly when CONFIG_PARAVIRT=y. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> diff -r 4ff048622391 drivers/md/raid6x86.h --- a/drivers/md/raid6x86.h Thu Dec 28 16:52:54 2006 +1100 +++ b/drivers/md/raid6x86.h Fri Dec 29 10:09:38 2006 +1100 @@ -75,13 +75,14 @@ static inline unsigned long raid6_get_fp unsigned long cr0; preempt_disable();
2003 Sep 17
0
FW: opiekey segfault ... isn't that harmfull? it's setuid root
...f (null) and a sequence of -1, I get a segfault. Kernel/base: FreeBSD lama.inet-solutions.be 4.8-RELEASE-p4 FreeBSD 4.8-RELEASE-p4 #0: Sun Aug 31 21:00:38 CEST 2003 root@lama.inet-solutions.be:/usr/obj/usr/src/sys/LAMA i386 Make.conf: CPUTYPE=i686 CFLAGS= -O -pipe CXXFLAGS+= -fmemoize-lookups -fsave-memoized COPTFLAGS= -O -pipe ENABLE_SUIDPERL= true PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo This is my terminal output: jimmy@lama (192.168.0.50) 13:47 ~ $ opiepasswd -c -n 1 -s ad2003 Adding jimmy: Only use this method from the console; NEVE...
2006 Apr 19
0
FreeBSD Security Advisory FreeBSD-SA-06:14.fpu
...contains the same debugging registers FOP, FIP, and FDP which store the opcode, instruction address, and data address of the instruction most recently executed by the FPU. On processors implementing the "SSE" instruction set, a new pair of instructions fxsave/fxrstor replaces the earlier fsave/frstor pair used for saving and restoring the FPU state. These new instructions also save and restore the contents of the additional registers used by SSE instructions. II. Problem Description On "7th generation" and "8th generation" processors manufactured by AMD, including...
2006 Apr 19
1
FreeBSD Security Advisory FreeBSD-SA-06:14.fpu
...contains the same debugging registers FOP, FIP, and FDP which store the opcode, instruction address, and data address of the instruction most recently executed by the FPU. On processors implementing the "SSE" instruction set, a new pair of instructions fxsave/fxrstor replaces the earlier fsave/frstor pair used for saving and restoring the FPU state. These new instructions also save and restore the contents of the additional registers used by SSE instructions. II. Problem Description On "7th generation" and "8th generation" processors manufactured by AMD, including...