<div>Daniel,</div>
<div> </div>
<div>Sorry, I'm implementing the back-end support for multiple-alternative constraints in stages.  I wouldn't expect any serious inline asm multiple alternative constraints tests to work yet, as a number of the constraint characters aren't implemented yet.  I'll try to fix it so that it doesn't assert when unsupported constraints are used.  Clang may have passed parsing tests before my latest change, but there wasn't real support for multiple-alternative constraints with the front-end/back-end combination yet.</div>

<div> </div>
<div>I'm glad you're working on the gcc tests.  I've pulled them down now.  Seeing that they have a makefile, I'm assuming they probably won't work on Windows, so I'm putting them on my Linux box.</div>

<div> </div>
<div>Questions:</div>
<div> </div>
<div>Should I be able to get these running on Ubuntu Linux, or are they targeted for Darwin only?  I changed the variables at the start of the makefile to reflect Linux and my paths, and installed DejaGNU.  The tests are running right now, and right off I'm getting a number of messages about failing tests.  Some for paths like "gcc.apple/pascal-strings-2.c", some like gcc.c-torture/compile/20000922-1.c.  It's fairly quiet now, so I'm assuming some are passing.</div>

<div> </div>
<div>Will they work with the debug build of Clang?</div>
<div> </div>
<div>What was the name of the failing test?</div>
<div> </div>
<div>I'm a novice here, so any help would be appreciated.</div>
<div> </div>
<div>-John</div>
<div> </div>
<div>  I'm assuming they need to be run on Linux.  I'll see if I can make it so it doesn't assert if any of the unsupported constraints are used.</div>
<div> </div>
<div>I just tried running the gcc tests, but am missing "runtest".</div>
<div> </div>
<div>-John<br><br></div>
<div class="gmail_quote">On Mon, Sep 20, 2010 at 1:18 PM, Daniel Dunbar <span dir="ltr"><<a href="mailto:daniel@zuster.org">daniel@zuster.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi John,<br><br>Have you looked at the GCC test suite? It certainly has some examples<br>-- I know for sure because one of them is now failing with Clang after<br>
your recent patch. :)<br><br>I have a hacked up version in the 'clang-tests' module in SVN which<br>has been made a bit easier to run with clang.<br><br> - Daniel<br>
<div>
<div></div>
<div class="h5"><br>On Mon, Sep 20, 2010 at 12:07 PM, John Thompson<br><<a href="mailto:john.thompson.jtsoftware@gmail.com">john.thompson.jtsoftware@gmail.com</a>> wrote:<br>> I'm trying to write some tests for inline asm constraints, single and<br>
> multiple alternative.<br>><br>> Does anyone know of some example/test code using all or some subset of the<br>> constraint letters for one or more platforms that I could look at?<br>><br>> Does anyone know how to set up an asm statement using the "o" constraint?<br>
><br>> Thanks.<br>><br>> -John<br>><br>> --<br>> John Thompson<br>> <a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br>><br>><br></div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</a><br>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>><br></blockquote></div><br><br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>