<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycc/win32/include/math.h, branch main</title>
<subtitle>Tiny C Compiler by Fabrice Bellard Git mirror of the final release by Bellard, discarding all changes after. The repository at https://repo.or.cz/tinycc.git has become untrustworthy. Also the tcc sources have become tainted with AI slop.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/'/>
<entry>
<title>Spelling fixes</title>
<updated>2017-09-25T01:03:26+00:00</updated>
<author>
<name>Larry Doolittle</name>
<email>ldoolitt@recycle.lbl.gov</email>
</author>
<published>2017-09-25T01:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7'/>
<id>1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7</id>
<content type='text'>
Comments only, no change to functionality
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Comments only, no change to functionality
</pre>
</div>
</content>
</entry>
<entry>
<title>win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm</title>
<updated>2015-11-07T20:18:46+00:00</updated>
<author>
<name>Avi Halachmi (:avih)</name>
<email>avihpit@yahoo.com</email>
</author>
<published>2015-11-01T16:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=9c52ba48b347998abfe0ef544961bbaf88daee11'/>
<id>9c52ba48b347998abfe0ef544961bbaf88daee11</id>
<content type='text'>
The asm code cannot currently be used with tcc since tcc doesn't support 't'
constraint.

Use inline C implementation instead, place it win32/include/tcc/tcc_libm.h, and
include it from win32/include/math.h.

Since fpclassify now works, it also fixes few other macros which depend on it.
Implicitly fixed: isfinite, isinf, isnan, isnormal.

The implementations were taken from musl-libc rs-1.0 (MIT license).

musl-libc: http://git.musl-libc.org/cgit/musl/tree/src/math?h=rs-1.0
license:   http://git.musl-libc.org/cgit/musl/tree/COPYRIGHT?h=rs-1.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The asm code cannot currently be used with tcc since tcc doesn't support 't'
constraint.

Use inline C implementation instead, place it win32/include/tcc/tcc_libm.h, and
include it from win32/include/math.h.

Since fpclassify now works, it also fixes few other macros which depend on it.
Implicitly fixed: isfinite, isinf, isnan, isnormal.

The implementations were taken from musl-libc rs-1.0 (MIT license).

musl-libc: http://git.musl-libc.org/cgit/musl/tree/src/math?h=rs-1.0
license:   http://git.musl-libc.org/cgit/musl/tree/COPYRIGHT?h=rs-1.0
</pre>
</div>
</content>
</entry>
<entry>
<title>win: math.h: isnan: use macro, similar to others (still broken)</title>
<updated>2015-11-07T20:17:21+00:00</updated>
<author>
<name>Avi Halachmi (:avih)</name>
<email>avihpit@yahoo.com</email>
</author>
<published>2015-11-06T02:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=6e261a107cf92a62817e81c78b52470d81218e4a'/>
<id>6e261a107cf92a62817e81c78b52470d81218e4a</id>
<content type='text'>
It was broken due to tcc not able to compile asm with 't' constraint, and it's
still broken because fpclassify on which it now depends has the same issue. Next
commit will fix this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was broken due to tcc not able to compile asm with 't' constraint, and it's
still broken because fpclassify on which it now depends has the same issue. Next
commit will fix this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "win32/include/math.h: remoing a "t" modifier usage"</title>
<updated>2015-11-07T19:30:56+00:00</updated>
<author>
<name>Avi Halachmi (:avih)</name>
<email>avihpit@yahoo.com</email>
</author>
<published>2015-11-07T19:30:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=7307a6a3cb94b0fd2c801e0ed15e243cbcc469d8'/>
<id>7307a6a3cb94b0fd2c801e0ed15e243cbcc469d8</id>
<content type='text'>
This reverts commit 45bc50596874ec7cb26aac3dca3339ba25086436.

The new asm code did not work as expected. Coordinated with seiko.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 45bc50596874ec7cb26aac3dca3339ba25086436.

The new asm code did not work as expected. Coordinated with seiko.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32/include/math.h: remoing a "t" modifier usage</title>
<updated>2015-11-05T11:27:41+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2015-11-05T11:27:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=45bc50596874ec7cb26aac3dca3339ba25086436'/>
<id>45bc50596874ec7cb26aac3dca3339ba25086436</id>
<content type='text'>
    replaced by loading a float argument from memory and
    using the "m" modifier
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    replaced by loading a float argument from memory and
    using the "m" modifier
</pre>
</div>
</content>
</entry>
<entry>
<title>win32/include/winapi changes from https://github.com/run4flat/tinycc.git</title>
<updated>2015-05-13T22:27:46+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2015-05-13T22:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=101cc8747f767344d38566bd229f1761ad96f744'/>
<id>101cc8747f767344d38566bd229f1761ad96f744</id>
<content type='text'>
        just for testing. Is it needed? I'm not a MSYS citizen.

        run4flat is a tcc fork by David Mertens that knows how to work with
        multiple symbol tables. Excelent work. A good descriptions of the
        tcc internals inside a code comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        just for testing. Is it needed? I'm not a MSYS citizen.

        run4flat is a tcc fork by David Mertens that knows how to work with
        multiple symbol tables. Excelent work. A good descriptions of the
        tcc internals inside a code comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>add declaration of the "double trunc (double _x)" and winsock2.h</title>
<updated>2015-03-03T19:41:55+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2015-03-03T19:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=351e2ec33425ce9ff71f89d7d8cec42aec8841c5'/>
<id>351e2ec33425ce9ff71f89d7d8cec42aec8841c5</id>
<content type='text'>
This allow to build a windows version of the nimrod compiler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allow to build a windows version of the nimrod compiler.
</pre>
</div>
</content>
</entry>
<entry>
<title>A lrint functions in win32/include/math.h are rewrittem because tcc can't handle "t" constraint</title>
<updated>2015-03-03T19:38:31+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2015-03-03T19:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=4b61f7f04b674a4a89431cf856bf3b8b1cf19edc'/>
<id>4b61f7f04b674a4a89431cf856bf3b8b1cf19edc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "Add support for struct &gt; 4B returned via registers"</title>
<updated>2013-12-16T14:38:10+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2013-12-16T14:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=fbc8810334e6a087bed6de4dd84635cb6037b4dc'/>
<id>fbc8810334e6a087bed6de4dd84635cb6037b4dc</id>
<content type='text'>
- avoid assumption "ret_align == register_size" which is
  false for non-arm targets
- rename symbol "sret" to more descriptive "ret_nregs"

This fixes commit dcec8673f21da86ae3dcf1ca3e9498127715b795

Also:
- remove multiple definitions in win32/include/math.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- avoid assumption "ret_align == register_size" which is
  false for non-arm targets
- rename symbol "sret" to more descriptive "ret_nregs"

This fixes commit dcec8673f21da86ae3dcf1ca3e9498127715b795

Also:
- remove multiple definitions in win32/include/math.h
</pre>
</div>
</content>
</entry>
<entry>
<title>win64: use new headers from mingw</title>
<updated>2009-07-18T20:06:37+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2009-07-18T20:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=dc251a7d8d8bb4fb57773790152bfe85236f5f12'/>
<id>dc251a7d8d8bb4fb57773790152bfe85236f5f12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
