1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
Commit Graph

10299 Commits

Author SHA1 Message Date
mrdudz
7f9ebe678c spaces 2022-11-14 01:27:19 +01:00
mrdudz
683a2e7d28 add a simple example program that uses floats :) 2022-11-14 01:25:25 +01:00
mrdudz
78df8e8c3f make cbm float library available 2022-11-14 01:22:03 +01:00
mrdudz
331a8c7bc3 fix (some) issues with float constants 2022-11-13 23:47:15 +01:00
mrdudz
7467503f6e in an expression when both sides are constant, and one side is float, convert the other side to float and make the result float 2022-11-13 21:21:17 +01:00
mrdudz
34420ac153 test for mixed expressions 2022-11-13 19:02:47 +01:00
mrdudz
80d6c71b23 add missing float conversion 2022-11-13 18:54:29 +01:00
mrdudz
e77bf71ab9 fix g_div patch, hopefully checks works again 2022-11-13 17:50:40 +01:00
mrdudz
c427fb36b2 don't attempt strength reduction on divisions with floats 2022-11-13 15:21:15 +01:00
mrdudz
797aba5c07 dont do strength reduction on floats :) 2022-11-13 15:12:01 +01:00
mrdudz
1494a1ac1c Merge branch 'master' into fptest
# Conflicts:
#	src/cc65/codegen.c
2022-11-13 14:07:44 +01:00
mrdudz
bfd53911f6 adapt codegen comments from #1917 2022-11-13 13:41:41 +01:00
Bob Andrews
88b926e914
Merge pull request #1917 from acqn/CodeGen
[cc65] Clearer comments on and usage of code generator flags with type conversions in the primary register
2022-11-13 12:51:17 +01:00
acqn
3bcfa735cb clearer comments on and usage of code generator flags with type conversions in the primary register. 2022-11-13 14:57:48 +08:00
mrdudz
9e7e86e443 fix division problem, fix some other tests 2022-11-13 02:21:57 +01:00
mrdudz
abe1926a48 remove useless if 2022-11-12 22:55:17 +01:00
mrdudz
fd070c9b79 fix ternary operator 2022-11-12 19:08:03 +01:00
mrdudz
5c5653027a wrap asm log output into a macro 2022-11-12 18:44:28 +01:00
mrdudz
18dd61da42 another try of silencing 2022-11-12 18:24:31 +01:00
mrdudz
a2d3e87c75 use conversion functions, should shut up windows compile 2022-11-12 18:11:28 +01:00
mrdudz
2583db3abb fix passing of value to push float 2022-11-12 18:04:23 +01:00
mrdudz
2099e56263 fall through comment 2022-11-12 17:52:16 +01:00
mrdudz
69b3659924 fix conversion of float to chars 2022-11-12 17:41:52 +01:00
mrdudz
694561e917 fix comparing float const vs const 2022-11-12 02:44:01 +01:00
mrdudz
62e211553b fix comparing float variable agains float constants 2022-11-12 02:04:29 +01:00
mrdudz
af15ce8223 some cleanup, make testcompiles of the tests with gcc work again 2022-11-12 02:03:23 +01:00
mrdudz
89f8f51c32 Merge branch 'master' into fptest 2022-11-11 22:06:21 +01:00
Bob Andrews
6924d44564
Merge pull request #1911 from acqn/TypeFix
[cc65] Organized type-related stuff better
2022-11-11 22:05:45 +01:00
mrdudz
9cdd74e2f1 Merge branch 'master' into fptest 2022-11-11 21:45:04 +01:00
Bob Andrews
ec2688b50e
Merge pull request #1910 from acqn/DeclFix
[cc65] Renamed a few functions and struct used for declaration parser
2022-11-11 21:41:04 +01:00
Bob Andrews
ace39197e5 move test to test/ref 2022-11-11 21:22:20 +01:00
Bob Andrews
9c48c0ab8a
Merge pull request #1900 from acqn/Diagnostics
[cc65] Fixed endlessly repeated error messages when a declaration lacks a required identifier
2022-11-11 21:08:53 +01:00
Bob Andrews
ebb33ee8b4 fix problem with copy command in cmd.exe 2022-11-11 20:54:38 +01:00
mrdudz
6c5807001b add failing tests in test/todo 2022-11-11 00:52:42 +01:00
acqn
9253f0d6bc Added testcase for #1889. 2022-11-10 02:11:54 +08:00
mrdudz
c5728626b0 space! 2022-11-09 02:50:54 +01:00
mrdudz
f55b9ce37e spaces 2022-11-09 02:48:14 +01:00
mrdudz
bbe46bb883 move float libss into libsrc/float, move tests into the correct dirs for the testbench, move includes to toplevel include dir 2022-11-09 02:45:07 +01:00
mrdudz
a09053ce0b make test work again also on linux. why did this not break the github actions? 2022-11-09 01:07:36 +01:00
acqn
e10b5fd79b Renamed a few functions and struct used for declaration parser. 2022-11-08 14:42:52 +08:00
Bob Andrews
800c30604f
Merge pull request #1909 from silverdr/master
Updated ATTR_UNUSED() for clang
2022-11-06 14:06:56 +01:00
Silver Dream !
2dcccae036 Updated ATTR_UNUSED() for clang 2022-11-06 11:27:08 +00:00
mrdudz
57c9a4db8a Merge branch 'master' into fptest 2022-11-05 20:53:44 +01:00
mrdudz
5d1ad05cb8 oops 2022-11-05 20:48:53 +01:00
mrdudz
4a8c13fd93 Merge branch 'master' into fptest 2022-11-05 20:43:47 +01:00
mrdudz
e5777f7ccf add ATTR_UNUSED on the flags variable 2022-11-05 20:38:07 +01:00
mrdudz
1452d8164d add ATTR_UNUSED and ATTR_NORETURN 2022-11-05 20:37:41 +01:00
Bob Andrews
d066fbbcf5
Merge pull request #1908 from mrdudz/maketweaks
cmd.exe related tweaks
2022-11-05 19:55:53 +01:00
mrdudz
bf924395fb fix some bashisms, hopefully makes "check" work again in cmd.exe 2022-11-05 19:41:02 +01:00
Bob Andrews
680aacd4a7
Merge pull request #1907 from acqn/InputLineInfo
[cc65] Renamed some misleading functions relevent with input file info
2022-11-05 18:45:17 +01:00