Commit Graph

30 Commits

Author SHA1 Message Date
Branimir Karadžić
41dd93ab04 Cleanup. 2017-03-21 21:15:12 -07:00
Branimir Karadžić
10461810b0 Cleanup. 2017-02-16 21:47:19 -08:00
Branimir Karadžić
17e0713b7b Cleanup. 2017-02-06 16:05:58 -08:00
Branimir Karadžić
e98a802f09 Cleanup. 2017-01-19 15:09:53 -08:00
Branimir Karadžić
a8d6a2ee56 Cleanup. 2017-01-14 18:21:23 -08:00
Branimir Karadžić
ca536bcbbf Moved command line code to source. 2017-01-08 15:54:32 -08:00
Branimir Karadžić
c74fa71b2a Happy New Year! 2017-01-01 00:17:48 -08:00
Branimir Karadžić
e447debd7a Cleanup. 2016-02-21 13:59:08 -08:00
Branimir Karadžić
0742234e19 Happy New Year! 2016-01-01 00:10:32 -08:00
Branimir Karadžić
e856467135 Updated docs. 2015-11-14 00:12:56 -08:00
Branimir Karadžić
792e1458fc Simplifed allocator. 2015-11-06 22:02:52 -08:00
Branimir Karadžić
96b3b9616f Fixed MurmurHash unaligned read. 2015-08-15 15:04:41 -07:00
Dario Manesku
524143452a Cleanup. 2015-01-21 18:01:50 +01:00
Dario Manesku
8107e8f500 Do not force alignedAlloc calls, let allocator decide. 2015-01-21 18:01:50 +01:00
Dario Manesku
8f283fdb39 If BX_ALIGNED_DELETE calls bx::aligned*(), BX_ALIGNED_NEW should as well. 2015-01-21 18:01:49 +01:00
Dario Manesku
b720d9fc90 Added missing include. 2015-01-08 17:31:57 +01:00
Branimir Karadžić
7b13d15cfa Updated copyright year. 2015-01-01 15:02:37 -08:00
Branimir Karadžić
0b7c335824 Cleanup. 2014-07-09 21:40:32 -07:00
lye
9277c9b6b3 Add FreeBSD support to the codebase.
The FreeBSD-specific compatibility changes are invoked when the
__FreeBSD__ macro is defined, which is the default for (I think all?)
toolchains on FreeBSD. This turns on the BX_PLATFORM_FREEBSD macro which
can be used for further specializations.

FreeBSD is a mix between Linux, NaCl and OSX, with some extra cavaets that
have been worked around:

 * malloc.h is deprecated; FreeBSD uses stdlib.h instead.
 * alloca.h doesn't exist; it's also in stdlib.h.
2014-07-09 20:48:56 -07:00
Branimir Karadžić
9f3df4744f Simplified allocator interface. 2014-05-01 10:14:32 -07:00
bkaradzic
a453577c35 Added aligned new/delete. 2014-01-31 22:07:10 -08:00
bkaradzic
86b481c471 Using language compliant header guards. 2013-11-13 21:55:44 -08:00
bkaradzic
a3992baa77 Removed dynamic allocation from HandleAlloc. 2013-09-20 21:16:21 -07:00
bkaradzic
79bea0dd4d Fixed OSX build. 2013-08-30 21:50:20 -07:00
bkaradzic
32bf6e4ed8 Fixed bad cast. 2013-08-30 21:42:47 -07:00
bkaradzic
95b3486649 Fixed bad macro. 2013-08-30 21:41:36 -07:00
bkaradzic
1d0c8809bb Fixed comment. 2013-08-28 22:25:29 -07:00
bkaradzic
5fe2150bd3 Added function to check if pointer is aligned. 2013-08-28 21:40:43 -07:00
bkaradzic
947742a5d0 Added float4_stx to store single value. Fixed float4 reference implementation itof/ftoi. 2013-08-20 23:24:08 -07:00
bkaradzic
bbdd6e8856 Replaced countof with BX_COUNTOF to avoid name collsions. Added allocator interface. 2013-08-06 21:03:43 -07:00