Dale Weiler
|
efa571043b
|
Make makes output consistent with BSD makes output for make
|
2013-08-21 09:49:26 -04:00 |
|
Dale Weiler
|
d5d38e94ef
|
Some testing for valgrind in the makefile
|
2013-08-16 07:33:57 +00:00 |
|
Dale Weiler
|
89893f9a24
|
Valgrind integration for our memory allocator.
|
2013-08-16 07:22:01 +00:00 |
|
Dale Weiler
|
a622d5163b
|
Rework some build stuff for better output and to enable strict prototypes
|
2013-08-16 03:28:02 +00:00 |
|
Dale Weiler
|
ade8626df7
|
Perform some strict aliasing all over this biatch. We ain't trippin on code that breaks it.
|
2013-08-14 10:16:04 +00:00 |
|
Dale Weiler
|
73d9aa29c4
|
Made intrinsics seperate from the parser.
|
2013-08-14 06:02:15 +00:00 |
|
Dale Weiler
|
7669a99c7f
|
increment the optimization counter for DCE'd folds, also enable -O3 for compilation.
|
2013-08-01 14:24:10 +00:00 |
|
Dale Weiler
|
6f749d61b1
|
Added -Oconst-fold-dce (dead code elimination optimization for when constant expressions form the basis of the dead code, i.e if else with constant expression). Fixed deps and added documentation. Cleaned up folds for ir_value (can now use the same macros as the ast_value ones).
|
2013-08-01 07:07:59 +00:00 |
|
Dale Weiler
|
e08f00bfcd
|
Update clean rules in makefiles to remove coverity stuff
|
2013-06-22 00:16:44 +00:00 |
|
Dale Weiler
|
edf59e4f73
|
Fixed possible bug in VM. Added coverity rules to makefiles.
|
2013-06-22 00:15:25 +00:00 |
|
Dale Weiler
|
944ec75687
|
Retarded clang warning is retarded.
|
2013-06-18 07:26:07 +00:00 |
|
Dale Weiler
|
ad8d76b212
|
Fixed
|
2013-06-16 08:24:13 +00:00 |
|
Dale Weiler
|
de8974d03e
|
Use includes for makefile consistency. Added make depend rule for BSDmakefile.
|
2013-06-16 08:21:23 +00:00 |
|
Dale Weiler
|
685925398c
|
Dependency consistency
|
2013-06-16 07:22:37 +00:00 |
|
Dale Weiler
|
ec6de55d3c
|
Update some things
|
2013-06-16 07:21:40 +00:00 |
|
Dale Weiler
|
004832f6ec
|
Make it compile with g++ again
|
2013-06-16 05:59:41 +00:00 |
|
Dale Weiler
|
144672fada
|
Strict prototyping
|
2013-06-06 02:51:13 +00:00 |
|
Dale Weiler
|
9af3c502da
|
Major utility rewrite for compiler memory utilization statistics. Cleanups everywhere, no more NOTRACK stuff, all allocates are tracked. Major identifier cleanups as well.
|
2013-06-02 08:21:06 +00:00 |
|
Dale Weiler
|
e3f4ae3038
|
Add back that splint flag
|
2013-05-29 03:39:38 +00:00 |
|
Dale Weiler
|
d45956f55e
|
Fix that memory leak that I spent hours trying to find months ago and didn't succeed at.
|
2013-05-29 03:35:51 +00:00 |
|
Dale Weiler
|
f892b32335
|
Major export cleanup. Anything that was exported but wasn't used outside where it was implemented has been turned into static, and their exports have been removed. This actually makes the compiler compile slightly faster.
|
2013-05-29 03:29:04 +00:00 |
|
Dale Weiler
|
df8b486c98
|
Prevent negitive numbers from being used as the left operand of shift operator.
|
2013-05-29 02:37:45 +00:00 |
|
Dale Weiler
|
e02ebfe486
|
Result of shift operation on signed integers is bad.
|
2013-05-29 02:24:12 +00:00 |
|
Dale Weiler
|
f281de7a3c
|
Cleanups and fixes
|
2013-05-29 02:16:50 +00:00 |
|
Dale Weiler
|
721b581376
|
Fix deps (remove duplicates with clever make tricks)
|
2013-04-28 03:50:22 +00:00 |
|
Dale Weiler
|
a8e2a47da8
|
Less general name for PAK utility, added install targets for PAK utility, added manpag for PAK utility, this closes #108
|
2013-04-28 03:41:03 +00:00 |
|
Wolfgang Bumiller
|
5007fd7f71
|
don't overwrite ldflags/libs env vars
|
2013-04-26 17:44:44 +02:00 |
|
Dale Weiler
|
50ff9e4fd0
|
Fix OSX compiles
|
2013-04-26 15:43:13 +00:00 |
|
Dale Weiler
|
c6f2c8fc3d
|
That is also not needed anymore
|
2013-04-25 03:37:40 +00:00 |
|
Dale Weiler
|
2a3376cb52
|
not needed for arm anymore
|
2013-04-25 03:36:57 +00:00 |
|
Dale Weiler
|
10dd7aacfe
|
Apply some static where it belongs
|
2013-04-25 03:34:42 +00:00 |
|
Dale Weiler
|
1b5504fb9e
|
Fix alignment issues (can remove a clang warning, and also makes our code more portable!)
|
2013-04-25 03:17:52 +00:00 |
|
Dale Weiler
|
bfbb60bbed
|
Use the LIBS properly
|
2013-04-25 03:11:50 +00:00 |
|
Wolfgang Bumiller
|
3d9a06591a
|
Makefile: be more conformant: at link-time use LDFLAGS, not CFLAGS, also use CPPFLAGS prepended to CFLAGS at compile-commands, append optional LIBS at link-time after everything else
|
2013-04-23 16:49:43 +02:00 |
|
Dale Weiler
|
9a1894f587
|
Proper install names (preserve the .exe for win32 builds)
|
2013-04-22 00:05:44 +00:00 |
|
Matthias Krüger
|
cc3b8dcfd6
|
make: gource: display gmqcc icon in video.
|
2013-04-21 14:08:23 +02:00 |
|
Dale Weiler
|
c2b5a95961
|
GCC specific stuff compile flags.
|
2013-04-15 06:23:13 +00:00 |
|
Dale Weiler
|
ef528d6710
|
Added tracing to strdup for allocations, fixed some memleaks, this isn't pretty (trying to track down some weird memory leak issues)
|
2013-04-14 23:51:16 +00:00 |
|
Dale Weiler
|
3f546df677
|
Revert that trans stuff
|
2013-04-14 01:03:22 +00:00 |
|
Dale Weiler
|
48d6375817
|
flatten the use of strcpy, 90% of the cases we already knew the length of the string either at compile-time, or already within the scope we where, thus letting us use strncpy, which can be further optimized (unrolled if static)
|
2013-04-14 01:00:25 +00:00 |
|
Dale Weiler
|
3f40fcb965
|
Fix possible buffer overflows.
|
2013-04-13 18:17:15 +00:00 |
|
matthiaskrgr
|
54c89e485a
|
make: gource flags: add
--key
--camera-mode overview
--highlight-all-users
--file-idle-time 0
--hide progress,mouse
--stop-at-end
--max-files 99999999999
--max-file-lag 0.000001
--bloom-multiplier 1.3
|
2013-03-27 20:05:43 +01:00 |
|
matthiaskrgr
|
8e122d78be
|
Makefile: split up 'make gource' into 'make gource' (render only) and 'make gource-record' (record using ffmpeg)
|
2013-03-27 19:50:39 +01:00 |
|
Dale Weiler
|
1b02a5204a
|
Cross architecture stuff for distro build scripts. If you have an x86_64 capable system with a compiler and make (the OS doesn't even matter), simply changing to "distro" directory and typing "make" is sufficent to make archlinux i686/x86_64, and debian i686/x86_64 packages.
|
2013-03-21 02:02:41 +00:00 |
|
Dale Weiler
|
66b5cf29ba
|
While we're at it, fix that one too.
|
2013-03-15 22:56:45 +00:00 |
|
Dale Weiler
|
6a0f9d3cb2
|
*sigh*
|
2013-03-15 22:56:09 +00:00 |
|
Dale Weiler
|
11255058cf
|
SPACES PEOPLE
|
2013-03-15 22:53:00 +00:00 |
|
Dale Weiler
|
dfca3743f9
|
Added gource rule to makefile
|
2013-03-15 22:51:40 +00:00 |
|
Dale Weiler
|
cbeac3e5f2
|
Implemented smart intrinsic / builtin system. When you use trivial math functions like "pow", if they don't exist as a builtin, the compiler will implement its own versions, likewise, if a compiler builtin depends on a function that exists, it will use it, likewise if it doesn't it will implement it. If you explicitally use __builtin_ (prefixed) versions, the compiler again will select the best option it can, be it a combination of both builtins and compiler builtins, all compiler builtins, OR, all builtins (most performant).
|
2013-03-09 08:53:39 +00:00 |
|
Dale Weiler
|
d3c7b6fb39
|
Implement exponentiation operator ** as well as __builtin_pow (used for exponentiation operator). Use of exponentiation operator with constants results in const folded (precomputed at compile time exponentiation), otherwise runtime exponentiation with some clever loops (slow!).
|
2013-03-07 21:31:19 +00:00 |
|