<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
The alignment of jmpbuf is 128 bits for some targets.<br>It seems like a hole in the language that this can't be expressed.<br> Or maybe I just don't know how.<br> Or maybe Target.max_align gets in the way??<br><br>I'd like to soon remove an accurately described jmpbuf from m3core, making this maybe moot.<br><br>Linux/powerpc:<br><br>/usr/include/bits/setjmp.h<br><br>#ifndef _ASM<br># if __WORDSIZE == 64<br>typedef long int __jmp_buf[64] __attribute__ ((__aligned__ (16)));<br># else<br>/* The alignment is not essential, i.e.the buffer can be copied to a 4 byte<br> aligned buffer as per the ABI it is just added for performance reasons. */<br>typedef long int __jmp_buf[64 + (12 * 4)] __attribute__ ((__aligned__ (16)));<br># endif<br>#endif<br><br>Notice that the 128bit alignment on powerpc64 is not commented as being unessential, only for powerpc32.<br><br> - Jay<br><br> </body>
</html>