Oz and Mozart Hackers Mailing List

Re: good news from the inline-opcode-map branch


From: duchier@ps.uni-sb.de
Date: Wed Dec 03 2003 - 17:05:54 CET


glynn@info.ucl.ac.be (Kevin Glynn) writes:

> configure:9785: checking whether .byte V and .p2align N,V are supported
> configure:9824: c++ -o conftest -fno-exceptions -fno-implicit-templates conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl 1>&5
> /usr/ccs/bin/as: "/var/tmp//ccz9SkPi.s", line 72: error: unknown opcode ".p2align"

ok, so we are not using gas.

> configure:9849: checking whether .byte V and .align N,V are supported
> configure:9888: c++ -o conftest -fno-exceptions -fno-implicit-templates conftest.C -lz -lgmp -ldl -lm -lsocket -lnsl 1>&5
> /usr/ccs/bin/as: "/var/tmp//ccOFwBPm.s", line 72: error: invalid alignment boundary

it would be useful to see the assembly code. Could you try to run the
command above and add -save-temps, then send me the assembly file

However, I am guessing that it is this line:

> asm volatile(".align 8,3");

which causes problems. hmm... crap, I think it means that the sparc
assembler doesn't support this syntax (with a 2nd arg to fill the
alignment bytes). Try to replace:

      asm volatile(".byte 3");
      asm volatile(".align 8,3");

by:
      asm volatile(".byte 3");
      asm volatile(".byte 3");
      asm volatile(".byte 3");
      asm volatile(".byte 3");

Cheers,

-- 
Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.