Displaying 20 results from an estimated 500 matches similar to: "Clang Optimizer freaks out on "simple" goto code?"
2008 Jan 13
2
{worker} after :end-time worker freaks out
Hi all,
i was using bdrb a while ago and it wasn''t stable enough in version
0.2.1 for doing the job - it loss jobs or did execute only the first one
invoked and so on.
Now i gave the new version a try and i found a bug at playing around.
When i start a worker_method over the normal Unix scheduler bdrb will
start as much as possible the worker_method after the :end-time is reached.
2018 Feb 12
0
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
FYI there is now serious talk of the Linux kernel dropping support for
compilers that *don't* support asm goto.
On Tue, 2017-04-04 at 13:13 -0700, Matthias Braun via llvm-dev wrote:
>
> > On Apr 4, 2017, at 11:44 AM, John McCall via llvm-dev
> > ts.llvm.org> wrote:
> >
> > > On Apr 4, 2017, at 2:12 PM, Matthias Braun <matze at braunis.de>
> >
2018 Feb 14
0
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
On Tue, 2017-04-04 at 16:26 +0000, Chandler Carruth via llvm-dev wrote:
> On Tue, Apr 4, 2017 at 6:07 AM Yatsina, Marina via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> > Asm goto feature was introduces to GCC in order to optimize the
> > support for tracepoints in Linux kernel (it can be used for other
> > things that do nop patching).
> >
> > GCC
2017 Mar 30
3
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
Linux kernel is using the “asm goto” feature, other projects probably use it as well. I think it provides motivation to support it in LLVM.
Regarding the complexity, I believe there is some infrastructure that we can at least partially reuse (the support for “indirectbr” instruction).
My focus is adding “asm goto” support, the other things are indeed completely orthogonal and came up in bugs
2008 Jun 04
0
Patch for app_asr.c: DTMF instead of goto
Hi to all
if someone of you is interested on it, i've changed the code of app_asr.c
With these patch you can use the ASR application to play DTMF tones,
so you can have your own AGI application that uses the ASR and manages
the DTMF tones without change the dialplan.
EXAMPLE
exten => 003,1,Ringing
exten => 003,2,Wait(3)
exten => 003,3,Answer
exten =>
2011 Feb 08
1
goto blas related R segfault
Hi,
i have been running R 2.11 compiles with the goto blas libraries
successfully for about a year. I am running Ubuntu 10.10 64 bit.
However, recently I have been periodically getting a segfault when running R
(and numpy -- also compiled against goto blas).
When I check the dmesg error log I get the following message
R[28792]: segfault at 7f4183ed4000 ip 00007f4196f05f03 sp 00007f4192d55d20
2018 Feb 14
0
clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)
On Wed, Feb 14, 2018 at 09:31:22AM -0800, Kees Cook wrote:
> On Wed, Feb 14, 2018 at 1:08 AM, Peter Zijlstra <peterz at infradead.org> wrote:
> > If you ever get to the point where it makes sense to build a kernel with
> > LLVM [...]
>
> Just to speak to this point in particular: it makes sense to build
> kernels with LLVM right now. It's already happened;
2018 Feb 14
0
clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)
* Ingo Molnar <mingo at kernel.org> wrote:
> To quantify it: I just performed a test build of a Linux distro kernel config
> (Fedora x86-64), and counted the number of callsites that use 'asm goto'
> functionality with the v4.15 kernel (including drivers).
>
> The results:
>
> Linux distro | !CONFIG_TRACING
2012 Jul 16
1
[PATCH] isoinfo: remove the useless goto
Code cleanup.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/isoinfo.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/daemon/isoinfo.c b/daemon/isoinfo.c
index c0ee1c9..fd777bd 100644
--- a/daemon/isoinfo.c
+++ b/daemon/isoinfo.c
@@ -255,8 +255,6 @@ isoinfo (const char *path)
goto done;
ret = parse_isoinfo (lines);
- if (ret == NULL)
- goto done;
2007 Jul 02
0
[LLVMdev] function instead of 'goto' in C backend
Hello, guys.
You know LLVM C backend emits 'goto' statement for branching, being based on the bytecode which is composed of units of the basic block.
Therefore, I wonder if it would be hard to modify the C backend so as to spits out functions instead of 'goto' statements for branching.
I'm just a novice so I have no good sense on this if this would be feasible.
How do you
2007 Jul 02
0
[LLVMdev] function instead of 'goto' in C backend
There is a paper from Andew Appel:
http://portal.acm.org/citation.cfm?id=278285
it explains the connection between SSA basic blocks and
functions pretty well.
This paper may also help:
http://www.jantar.org/papers/ssa-lambda/
Cheers,
Gabor
2009 Nov 03
0
[LLVMdev] Indirect goto
Hello,
There's been a flurry of activity around indrect goto recently. For
anyone interested, here's a document explaining the curent design:
http://nondot.org/sabre/LLVMNotes/IndirectGoto.txt
Dan
2011 Jan 21
1
[LLVMdev] goto in inline asm
Is goto from inline asm supported in LLVM 2.8 ?
I am searching for something similar to what gcc 4.5 does:
http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended%20asm%20with%20goto
http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended%20asm%20with%20goto
which allows jumping from inline assembly to a label defined in C.
I want to jump from inline asm to a basic block in LLVM.
2003 Nov 19
0
GoTo or Dial in AGI??
I have two possible senarios for making a call from an AGI..
Senario1 - Using GoTo
In the extensions.conf I have..
[dial-out]
exten => _9.,1,AGI(myagi)
exten => _9.,2,Dial(SIP/blah/${EXTEN:1})
In the AGI I have..
EXEC GoTo dial-out|9555678|2
So using this method I don't have to really edit the AGI ever if I
change the dialplan around as long at the context is correct.. At the
end of
2004 Apr 14
1
background / goto commands
I'm working on setting up a macro that will allow users to call their
own DID number, and when they hear their voicemail greeting hit the *
key and be prompted for their password to check vmail.
For some reason though the background command isn't working as I'd
expect it to:
[macro-vmessage]
exten => s,1,Answer
exten =>
2005 Jan 09
0
Using Goto with Asterisk Realtime configuration
I am using a combo of static files and Asterisk
Realtime configuration. This section works fine when a
static file:
---------------------------
[from_pstn]
;Voipgate
exten => 4507,1,Goto(from_pstn,s,1)
exten => s,1,Macro(dial-ext)
exten => s,2,Hangup
---------------------------
But, when I drop it in the database and try it in
Realtime mode I get this error:
---------------------------
2005 Jan 25
0
Goto invalid extension doesn't go to 'I' when in a macro.
Hi,
A bit of a problem here which I'd appreciate some thoughts on.
(please excuse the stray capital letters - Outlook has a habit of
capitalising where I don't want it to!)
For various reasons, I need to be able to do the following:
--------------8<--------------
[default]
Exten => s,1,Macro(dosomething,9999)
Exten => s,2,NoOp(Returned)
[macro-dosomething]
Exten =>
2005 May 19
1
GOTO statement in Realtime-Extensions not working like expected
Hi .. When I use the GoTo statement in realtime to goto a priority only
... E.g. Goto(3) then there's no problem
But, If I try to jump to another context ... E.g.
Goto(othercontext,${EXTEN},3) then it doesn't work
If I process the same statement in extensions.conf things go well
Are there things broken regarding GoTo in combination with Realtime
Extensions ?
2005 Oct 09
1
Dial/goto extension from CLI or BASH script
I need to have a bash script trigger Asterisk to goto a particular extension
(as if that extension were dialed). I can't find any documentation for this.
Does anyone know of a way for a bash script to Dial an asterisk extension?
(I'm trying to make a bash file call the app_rxfax application which is on
extension 123)
Thanks,
Michelle
-------------- next part --------------
An HTML
2006 Apr 18
0
Realtime goto problem
Hi,
Sample database
+----+---------------+-------+----------+-----------------+-------------
----
-----+
| id | context | exten | priority | app | appdata
|
+----+---------------+-------+----------+-----------------+-------------
----
-----+
| 1 | incoming | 6069 | 1 | Goto |
incoming-next|6069|1 |
| 2 | incoming | 6069 | 2 |