Daniel,
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.
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.
Questions:
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.
Will they work with the debug build of Clang?
What was the name of the failing test?
I'm a novice here, so any help would be appreciated.
-John
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.
I just tried running the gcc tests, but am missing "runtest".
-John
On Mon, Sep 20, 2010 at 1:18 PM, Daniel Dunbar <daniel at zuster.org>
wrote:
> Hi John,
>
> Have you looked at the GCC test suite? It certainly has some examples
> -- I know for sure because one of them is now failing with Clang after
> your recent patch. :)
>
> I have a hacked up version in the 'clang-tests' module in SVN which
> has been made a bit easier to run with clang.
>
> - Daniel
>
> On Mon, Sep 20, 2010 at 12:07 PM, John Thompson
> <john.thompson.jtsoftware at gmail.com> wrote:
> > I'm trying to write some tests for inline asm constraints, single
and
> > multiple alternative.
> >
> > Does anyone know of some example/test code using all or some subset of
> the
> > constraint letters for one or more platforms that I could look at?
> >
> > Does anyone know how to set up an asm statement using the
"o" constraint?
> >
> > Thanks.
> >
> > -John
> >
> > --
> > John Thompson
> > John.Thompson.JTSoftware at gmail.com
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> >
>
--
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100920/e2884c71/attachment.html>