mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Add chibicc
This program popped up on Hacker News recently. It's the only modern compiler I've ever seen that doesn't have dependencies and is easily modified. So I added all of the missing GNU extensions I like to use which means it might be possible soon to build on non-Linux and have third party not vendor gcc binaries.
This commit is contained in:
parent
e44a0cf6f8
commit
8da931a7f6
298 changed files with 19493 additions and 11950 deletions
|
@ -28,7 +28,7 @@ COSMOPOLITAN_C_START_
|
|||
Performance (New Hardware) ~20 ns ~40 ns ~400 ns
|
||||
Performance (Old Hardware) ~400 ns ~40 ns ~400 ns */
|
||||
|
||||
typedef uint32_t aes_block_t _Vector_size(16) aligned(16);
|
||||
typedef uint32_t aes_block_t _Vector_size(16) forcealign(16);
|
||||
|
||||
struct Rijndael {
|
||||
union {
|
||||
|
@ -47,8 +47,8 @@ aes_block_t unrijndael(uint32_t, aes_block_t, const struct Rijndael *);
|
|||
│ cosmopolitan § cryptography » implementation details ─╬─│┼
|
||||
╚────────────────────────────────────────────────────────────────────────────│*/
|
||||
|
||||
extern const uint8_t kAesSbox[256] aligned(64);
|
||||
extern const uint8_t kAesSboxInverse[256] aligned(64);
|
||||
extern const uint8_t kAesSbox[256] forcealign(64);
|
||||
extern const uint8_t kAesSboxInverse[256] forcealign(64);
|
||||
|
||||
aes_block_t InvMixColumns(aes_block_t) hidden;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue