mrdudz
feb839e7f0
narrisch werd i!
2022-11-18 17:55:22 +01:00
mrdudz
8a9029d393
hnnngg
2022-11-18 17:50:32 +01:00
mrdudz
c6ecee0748
Babydino sagt: nochmal!
2022-11-18 17:45:21 +01:00
mrdudz
5fb20dec91
commit message
2022-11-18 17:41:22 +01:00
mrdudz
5638e0916a
spül es noch einmal, Sam
2022-11-18 17:39:35 +01:00
mrdudz
d1b7768064
yeah!
2022-11-18 17:27:51 +01:00
mrdudz
d68598165c
and another
2022-11-18 17:24:05 +01:00
mrdudz
d459b5da87
another try
2022-11-18 17:20:44 +01:00
mrdudz
fdcc683997
shoot in the dark, try to fix ming build issue
2022-11-18 17:13:37 +01:00
Bob Andrews
0408d71cc5
fixes so "make clean" will work without failing on cmd.exe
2022-11-18 16:28:25 +01:00
Bob Andrews
1ce044c2b4
Merge pull request #1916 from spiro-trikaliotis/split-asm-listing-test-stdout-stderr
...
Split stdout and stderr in test/asm/
2022-11-18 16:17:20 +01:00
mrdudz
ea4aeffc34
ooops seems i forgot to add this /o\
2022-11-18 02:34:51 +01:00
mrdudz
a33b8f371a
disable debug
2022-11-18 02:34:13 +01:00
mrdudz
2cfa3d905a
make failing checks works again
2022-11-18 02:33:50 +01:00
mrdudz
705617cd5f
add more checks that are related to recent fixes
2022-11-18 01:52:55 +01:00
mrdudz
965c1f5239
updated
2022-11-18 01:52:18 +01:00
mrdudz
7370478f80
cleanup
2022-11-18 01:52:00 +01:00
mrdudz
e8e39db4ca
add fastcall to some more functions
2022-11-18 01:17:25 +01:00
mrdudz
6e7fae3795
add comments
2022-11-18 01:17:05 +01:00
mrdudz
d98b55f8ee
fix issues with substraction
2022-11-18 01:16:55 +01:00
mrdudz
c725cab7c6
crazy hack so the function works better even when typecasting seems broken
2022-11-18 00:55:00 +01:00
mrdudz
15b713f7f1
build mathtest for c64, link c64 float progs against the kernal wrapper
2022-11-17 22:48:21 +01:00
mrdudz
89341e0378
add mandelfloat sample
2022-11-17 22:14:43 +01:00
mrdudz
ab568cf8ad
rename source files to prevent weird conflicts when building
2022-11-17 21:52:49 +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
f7f5d39f20
fix some cases when comparing floats vs ints
2022-11-17 20:41:15 +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
1ba0651b75
also delete quick.s
2022-11-17 19:16:39 +01:00
mrdudz
0c081b73d3
add logging and comments
2022-11-17 19:14:42 +01:00
mrdudz
44c55513f5
fix math function wrappers for cbmkernal
2022-11-17 19:12:27 +01:00
mrdudz
04d058297b
dont include math.h
2022-11-17 19:11:29 +01:00
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
dadca9e033
Fixed bitwise-shift in PP.
2022-11-13 16:32:41 +08: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
Spiro Trikaliotis
d7a804d120
Split stdin and stdout in test/asm/
...
Some tests pipe the stdout and stderr of the compiler or assembler into
a file and compare the result with a reference. This has the subtle
problem that both stdout and stderr and buffered i/o streams that may or
may not work the same on different OSs or even shells. That means the
order of the lines in the resulting file is not guaranteed.
In practise it is "mostly" not an issue, but "we" still stumbled about
one test where different behaviour can be triggered depending on running
it in cmd.exe or bash (msys): test/asm/listing output of
010-paramcount.bin differs from the reference output when running the
test from cmd.exe.
The solution is most likely to have two reference files and not redirect
into one file.
This patch fixes the issue (cf. #1912 ) for the directory test/asm/.
2022-11-12 23:12:25 +01:00