X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: RayeR Newsgroups: comp.os.msdos.djgpp Subject: Re: I need strtok_r() function Date: Tue, 25 Oct 2011 05:25:33 -0700 (PDT) Organization: http://groups.google.com Lines: 14 Message-ID: <96b6b2d9-8bb3-4237-b80f-6395da28cd8f@t10g2000yqd.googlegroups.com> References: <8339erwjdk DOT fsf AT gnu DOT org> <3533b2fa-8962-47c1-a6a8-373cc0e8a1f3 AT g7g2000vbv DOT googlegroups DOT com> <83zkgzv01r DOT fsf AT gnu DOT org> <153d7dc6-0ff9-4ef2-9933-e603b92db585 AT m4g2000yqm DOT googlegroups DOT com> <4E9D970D DOT 4050808 AT iki DOT fi> NNTP-Posting-Host: 90.181.199.10 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1319545535 10027 127.0.0.1 (25 Oct 2011 12:25:35 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 25 Oct 2011 12:25:35 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: t10g2000yqd.googlegroups.com; posting-host=90.181.199.10; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) Bytes: 2092 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I was suggested by Khusraw at BTRR that: K: "It is caused by the misalignment of SSE data from some of the assembler files, caused by DJGPP's COFF format limitations." R: > Is it possible to enforce aligment with some __attribute__ or compiler > option? Does it mean that when I call a SSE instruction on data that are > not word or dword (I don't know the block size) aligned it will throw some > exception and crashes? K: AFAIK it has to be aligned on 16 bytes (128 bits). I don't think that DJGPP's COFF supports such alignment, at least without some modifications.