mrdudz
f587e6eaf9
add code for fnegeax, and tests for it
2023-08-27 05:15:04 +02:00
mrdudz
fa347d416a
move test to todo again, and patch the Makefile - it works in *one* particular config (only)
2023-08-26 22:34:25 +02:00
mrdudz
0c69e4e290
move test to test/val ... for some reason it is working now in this branch :)
2023-08-26 21:48:35 +02:00
mrdudz
fcad1067ad
fix some fallout
2023-08-25 23:04:13 +02:00
mrdudz
0f7c299abc
Merge branch 'master' into fptest
...
# Conflicts:
# src/cc65/expr.c
# test/todo/Makefile
2023-07-08 15:56:45 +02:00
mrdudz
c8aa9cc703
add struct assign check related to #2079
2023-05-29 17:20:09 +02:00
Bob Andrews
9ff7b88192
Merge pull request #2113 from polluks2/patch-9
...
Unified NULL #2110
2023-05-19 16:06:46 +02:00
polluks2
8ff008722b
Fixed test
...
Don't define NULL yourself. QED
2023-05-19 02:49:49 +02:00
Bob Andrews
70bf4d492b
Merge pull request #2105 from bbbradsmith/sim65-64bit-cycle-count
...
Sim65 64bit cycle count
2023-05-16 15:53:23 +02:00
bbbradsmith
5a30d746b4
extern/static conflict test: remove warning as errors to match the new expected cases
2023-05-11 20:15:27 -04:00
bbbradsmith
aad64063c9
makefiles no longer need comment about sim65 64-bit support
2023-05-07 16:33:07 -04:00
Bob Andrews
9c27084fa5
Merge pull request #2084 from bbbradsmith/numerical_constant_errors-int
...
Numerical constant errors and improvements (integer)
2023-05-06 21:36:59 +02:00
bbbradsmith
84f0ab322d
sim65: cycles does not increment 1 at a time, so some small overhead is needed in range check
2023-05-06 13:54:28 -04:00
bbbradsmith
f2e7609046
sim65 cycles 32-bit range fix
...
long is 64-bit on some platforms, making this inconsistent, added range check to catch overflow.
reduced tests requesting 5 billion cycles to 2^32-1 so they can fun on 32-bit long sim65.
2023-05-05 21:45:57 -04:00
bbbradsmith
e3cb8dfb9b
Numerical constant scanner requires explicitly 32-bit sized type for cross-platform consistency
2023-05-03 19:27:37 -04:00
Bob Andrews
45bdeb62ad
Merge pull request #2070 from bbbradsmith/fix2060
...
RHS primary integer promotion must happen after loading the primary, not before
2023-05-03 23:57:19 +02:00
Bob Andrews
ae7a1416fe
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return""
2023-05-03 20:02:12 +02:00
Brad Smith
2c47ea45af
bug895.c compliant token pasting syntax to remove warnings
...
Gets rid of some unnecessary warning spam in the test log of lines like this:
```
bug895.c:95: Warning: Pasting formed "unsigned_long_14(", an invalid preprocessing token
```
2023-05-02 18:18:10 -04:00
bbbradsmith
1c26b1cf1b
RHS primary integer promotion must happen after loading the primary, not before. See: #2060
2023-05-02 14:42:00 -04:00
mrdudz
c92a8f863a
Merge branch 'master' into fptest
2023-03-04 13:48:31 +01:00
bbbradsmith
78263cd24b
Fix OptStackOps label migration case for toscmpbool, add test case
2023-02-17 23:48:32 -05:00
mrdudz
1764b7aca9
fix for #1941 , taken from 22d435b689
2023-01-28 12:29:05 +01:00
mrdudz
61f2f4fa56
Merge branch 'master' into fptest
2023-01-28 11:22:20 +01:00
mrdudz
d9ebfa7192
all good things are three
2022-12-11 12:29:11 +01:00
mrdudz
2b941e255a
move test. oops
2022-12-11 12:22:41 +01:00
mrdudz
bad961b36f
add missing newline
2022-11-28 06:34:05 +01:00
mrdudz
61ee5fe1d5
test for bug #1933
2022-11-28 06:26:47 +01:00
mrdudz
46bb7e8961
Merge branch 'master' into fptest
2022-11-19 22:12:26 +01:00
mrdudz
d6c37a757d
Merge branch 'master' into underscores
2022-11-19 17:11:11 +01:00
mrdudz
54f7325800
another test fixed
2022-11-19 00:06:37 +01:00
mrdudz
1413ab711e
fix some compare tests
2022-11-18 23:38:40 +01:00
mrdudz
c9ff35933a
Merge branch 'master' into fptest
2022-11-18 19:12:52 +01:00
mrdudz
e30951cf9a
spaces
2022-11-18 18:28:59 +01:00
mrdudz
705617cd5f
add more checks that are related to recent fixes
2022-11-18 01:52:55 +01:00
mrdudz
d98b55f8ee
fix issues with substraction
2022-11-18 01:16:55 +01:00
mrdudz
c651cb4f1f
cleanup
2022-11-17 20:41:49 +01:00
mrdudz
cfdf6aef9d
add some tests on comparing floats vs ints. not all cases working
2022-11-17 20:41:36 +01:00
mrdudz
54e7d71cb7
fix division test
2022-11-17 20:38:59 +01:00
mrdudz
14347c2220
cleanup
2022-11-17 19:39:35 +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
e77bf71ab9
fix g_div patch, hopefully checks works again
2022-11-13 17:50:40 +01:00
acqn
dadca9e033
Fixed bitwise-shift in PP.
2022-11-13 16:32:41 +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
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