delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Rugxulo <rugxulo AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: I need strtok_r() function |
Date: | Tue, 18 Oct 2011 10:42:57 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 41 |
Message-ID: | <bd92051f-c28d-454d-8740-27946842cd95@u9g2000vby.googlegroups.com> |
References: | <bf04ff58-89d4-46fe-aaf4-ad5a07eaf8ff AT k35g2000yqh DOT googlegroups DOT com> |
<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> | |
<E1RGAHJ-00005h-I6 AT fencepost DOT gnu DOT org> <4E9D970D DOT 4050808 AT iki DOT fi> | |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1318959887 29061 127.0.0.1 (18 Oct 2011 17:44:47 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Tue, 18 Oct 2011 17:44:47 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | u9g2000vby.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO |
User-Agent: | G2/1.0 |
X-Google-Web-Client: | true |
X-Google-Header-Order: | HUALESNKRC |
X-HTTP-UserAgent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe) |
Bytes: | 2911 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p9II02gv023329 |
Reply-To: | djgpp AT delorie DOT com |
Hi, On Oct 18, 10:11 am, Andris Pavenis <andris DOT pave DOT DOT DOT AT iki DOT fi> wrote: > On 10/18/2011 05:04 PM, Eli Zaretskii wrote: > > >> From: RayeR<gl DOT DOT DOT AT centrum DOT cz> > >> Newsgroups: comp.os.msdos.djgpp > >> Date: Tue, 18 Oct 2011 06:05:56 -0700 (PDT) > > >> Unfortunately when I tested compiled x264 to compress sample video it > >> crashes immediatelly: (to quote RayeR later on from BTTR Forum): "I had to disable HAVE_MMX in config.h that also turned off dynamic CPU detection and it's working now. It works regardless C opt. flags. There are also some ASM files compiled by YASM..." > >> C:\X264>X264.EXE -o out.flv example.y4m > >> y4m [info]: 384x288p 0:0 @ 25/1 fps (cfr) > >> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle > >> SSE4.2 > > > I don't think DJGPP supports these capabilities, but I may be wrong. > > I think that GCC generates according instructions when appropriate > value of -march parameter is being used. I'm not sure about all of them > though I'm not sure (and am far far from an expert). -ftree-vectorize is turned on with -O3 in newer GCC versions, I thought, but it usually doesn't do much (from what I could tell in limited testing). You can use the -ftree-vectorizer-verbose=5 (or whatever) to see if it works at all. Here's a website with some details (not totally current but close enough): http://gcc.gnu.org/projects/tree-ssa/vectorization.html
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |