Re: [fpc-pascal] Is RV32I instruction set for RISC-V (embedded) supported?
Am 06.03.21 um 13:56 schrieb Bernd Mueller via fpc-pascal: I saw your changes in revision 48881, downloaded latest trunk, compiled with make crosszipinstall CPU_TARGET=riscv32 OS_TARGET=embedded SUBARCH=rv32i but the problem remains: make[4]: Entering directory '/home/bernd/fpc/fpc331/48882/src/rtl/embedded' /bin/mkdir -p /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded /home/bernd/fpc/fpc331/48882/src/compiler/ppcrossrv32 -Ur -Cprv32i -Tembedded -Priscv32 -XPriscv32-embedded- -Ur -Xs -O2 -n -Fi../inc -Fi../riscv32 -FE. -FU/home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded -Fl/home/bernd/riscv/riscv_2008/lib/gcc/riscv64-unknown-elf/10.1.0/rv64imafdc/lp64d -driscv32 -dRELEASE -al -Us -Sg system.pp @system.cfg /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded/system.s: Assembler messages: /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded/system.s:39578: Error: unrecognized opcode `mul x11,x11,x10' ... system.pp(311) Error: Error while assembling exitcode 1 system.pp(311) Fatal: There were 2 errors compiling module, stopping The compiler still seems to produce mul opcodes. Yes, it is not finished yet :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Is RV32I instruction set for RISC-V (embedded) supported?
I saw your changes in revision 48881, downloaded latest trunk, compiled with make crosszipinstall CPU_TARGET=riscv32 OS_TARGET=embedded SUBARCH=rv32i but the problem remains: make[4]: Entering directory '/home/bernd/fpc/fpc331/48882/src/rtl/embedded' /bin/mkdir -p /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded /home/bernd/fpc/fpc331/48882/src/compiler/ppcrossrv32 -Ur -Cprv32i -Tembedded -Priscv32 -XPriscv32-embedded- -Ur -Xs -O2 -n -Fi../inc -Fi../riscv32 -FE. -FU/home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded -Fl/home/bernd/riscv/riscv_2008/lib/gcc/riscv64-unknown-elf/10.1.0/rv64imafdc/lp64d -driscv32 -dRELEASE -al -Us -Sg system.pp @system.cfg /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded/system.s: Assembler messages: /home/bernd/fpc/fpc331/48882/src/rtl/units/riscv32-embedded/system.s:39578: Error: unrecognized opcode `mul x11,x11,x10' ... system.pp(311) Error: Error while assembling exitcode 1 system.pp(311) Fatal: There were 2 errors compiling module, stopping The compiler still seems to produce mul opcodes. Regards, Bernd. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Why has the tkFloat default value changed?
On 06.03.2021 4:29, Ondrej Pokorny wrote: On 05.03.2021 20:34, Sven Barth wrote: Am 28.02.2021 um 23:11 schrieb Mattias Gaertner via fpc-pascal: [...] I can't find this change in https://wiki.lazarus.freepascal.org/User_Changes_3.2.0 @Ondrej: you had supplied the patch back then. Would you be able to describe what exactly changed through your patch? I added a point to https://wiki.lazarus.freepascal.org/User_Changes_3.2.0#RTTI_changes I forgot to add a short personal rant :) The ambiguity of the /stored/ and /(no)default/ modifiers is a huge source of confusion and errors. Such a bad design :/ (Obviously FPC is not liable for it.) Having only the "stored" modifier would be so much simpler. (And you would be able to store all integer values in a property - currently you always have to choose one value that is not stored.) Ondrej ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Why has the tkFloat default value changed?
On 05.03.2021 20:34, Sven Barth wrote: Am 28.02.2021 um 23:11 schrieb Mattias Gaertner via fpc-pascal: [...] I can't find this change in https://wiki.lazarus.freepascal.org/User_Changes_3.2.0 @Ondrej: you had supplied the patch back then. Would you be able to describe what exactly changed through your patch? I added a point to https://wiki.lazarus.freepascal.org/User_Changes_3.2.0#RTTI_changes Ondrej ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Why has the tkFloat default value changed?
Ondrej Pokorny schrieb am Sa., 6. März 2021, 04:29: > On 05.03.2021 20:34, Sven Barth wrote: > > Am 28.02.2021 um 23:11 schrieb Mattias Gaertner via fpc-pascal: > > [...] > >> I can't find this change in > >> https://wiki.lazarus.freepascal.org/User_Changes_3.2.0 > > > > @Ondrej: you had supplied the patch back then. Would you be able to > > describe what exactly changed through your patch? > > I added a point to > https://wiki.lazarus.freepascal.org/User_Changes_3.2.0#RTTI_changes Thank you! :) Regards, Sven > > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal