mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 01:49:20 +02:00
* make OS_INT/OS_SINT 8 Bit on avr, should work better on avr, resolves #27840
git-svn-id: trunk@30593 -
This commit is contained in:
parent
07ebd29911
commit
b84657980d
@ -212,9 +212,13 @@ unit cpubase;
|
|||||||
{ Defines the default address size for a processor, }
|
{ Defines the default address size for a processor, }
|
||||||
OS_ADDR = OS_16;
|
OS_ADDR = OS_16;
|
||||||
{ the natural int size for a processor,
|
{ the natural int size for a processor,
|
||||||
has to match osuinttype/ossinttype as initialized in psystem }
|
has to match osuinttype/ossinttype as initialized in psystem,
|
||||||
OS_INT = OS_16;
|
initially, this was OS_16/OS_S16 on avr, but experience has
|
||||||
OS_SINT = OS_S16;
|
proven that it is better to make it 8 Bit thus having the same
|
||||||
|
size as a register.
|
||||||
|
}
|
||||||
|
OS_INT = OS_8;
|
||||||
|
OS_SINT = OS_S8;
|
||||||
{ the maximum float size for a processor, }
|
{ the maximum float size for a processor, }
|
||||||
OS_FLOAT = OS_F64;
|
OS_FLOAT = OS_F64;
|
||||||
{ the size of a vector register for a processor }
|
{ the size of a vector register for a processor }
|
||||||
|
Loading…
Reference in New Issue
Block a user