1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00
cc65/src
Jesse Rosenstock 5db74b4b19 Use u16 codegen for u8 x u8 ops
In g_typeadjust, before we apply the integral promotions, we check if
both types are unsigned char.  If so, we promote to unsigned int, rather
than int, which would be chosen by the standard rules.  This is only a
performance optimization and does not affect correctness, as the flags
returned by g_typeadjust are only used for code generation, and not to
determine types of other expressions containing this one.  All unsigned
char bit-patterns are valid as both int and unsigned int and represent
the same value, so either signed or unsigned int operations can be used.
This special case part is not duplicated by ArithmeticConvert.

Partial fix for #1308.
2020-11-09 21:19:22 +01:00
..
ar65 ar65/LibClose: Include filename in error messages 2020-07-09 21:56:02 +02:00
ca65 Fixed some copy-&-paste typo mistakes about HuC6280's TMA mnemonic. 2020-10-01 07:25:08 -04:00
cc65 Use u16 codegen for u8 x u8 ops 2020-11-09 21:19:22 +01:00
chrcvt65 Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
cl65 Fix formatting 2020-07-08 16:45:00 +02:00
co65 Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
common Add stdint.h types for C89 compilers 2020-11-03 21:24:52 +01:00
da65 Made da65 disassemble branch instructions with relative address expression operands if there's no label. 2020-07-21 18:43:32 -04:00
dbginfo Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
grc65 Fix realloc() bug in gr65 2019-05-22 11:33:43 +02:00
ld65 In Atari XEX output format, join memory areas if possible. 2020-07-04 23:28:10 +02:00
od65 Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
sim65 Changed sim65's internal error codes from 9-bit values to 7-bit values. 2019-12-06 14:47:47 -05:00
sp65 Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
.gitignore Updated from Visual Studio 2013 to Visual Studio 2015. 2018-03-05 20:42:37 +01:00
ar65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
ca65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
cc65.sln Added chrcvt65 to the Visual Studio project. 2016-06-03 11:37:15 +02:00
cc65.vcxproj Moved some reusable code from cc65/coptstop.c into new files. 2020-09-27 12:22:05 +02:00
chrcvt65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
cl65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
co65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
common.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
da65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
grc65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
ld65.vcxproj Add support for Atari XEX file format to LD65 2019-02-03 18:04:46 -03:00
Makefile src/Makefile: Simplify BUILD_ID logic. 2019-07-15 12:42:48 +02:00
msbuild.cmd Unfortunately there's no other way than using the absolute path to init the correct MSVC 2017 environment. 2020-08-02 18:44:13 +02:00
od65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
sim65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00
sp65.vcxproj Updated Visual Studio solution files to VS 2017. 2018-11-24 14:10:58 +01:00