VIXL Release 1.12

Refer to the README.md and LICENCE files for details.
This commit is contained in:
armvixl 2015-12-08 17:05:23 +00:00
parent 684cd2a7f5
commit 788c84fd2c
4 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
VIXL: AArch64 Runtime Code Generation Library Version 1.11
VIXL: AArch64 Runtime Code Generation Library Version 1.12
==========================================================
Contents:

View File

@ -269,7 +269,6 @@ def VIXLLibraryTarget(env):
# The VIXL library, built by default.
env = Environment(variables = vars)
ConfigureEnvironment(env)
ProcessBuildOptions(env)
Help(vars.GenerateHelpText(env))
libvixl = VIXLLibraryTarget(env)
Default(libvixl)

View File

@ -1,6 +1,9 @@
VIXL Change Log
===============
* 1.12
+ Bug fixes for toolchain compatibility.
* 1.11
+ Fix bug in simulation of add with carry.
+ Fix use-after-free bug in Literal handling.

View File

@ -35,9 +35,9 @@
namespace vixl {
// Macros for compile-time format checking.
#if defined(__GNUC__)
#if GCC_VERSION_OR_NEWER(4, 4, 0)
#define PRINTF_CHECK(format_index, varargs_index) \
__attribute__((format(printf, format_index, varargs_index)))
__attribute__((format(gnu_printf, format_index, varargs_index)))
#else
#define PRINTF_CHECK(format_index, varargs_index)
#endif
@ -220,7 +220,7 @@ T ReverseBytes(T value, int block_bytes_log2) {
// Split the 64-bit value into an 8-bit array, where b[0] is the least
// significant byte, and b[7] is the most significant.
uint8_t bytes[8];
uint64_t mask = 0xff00000000000000;
uint64_t mask = UINT64_C(0xff00000000000000);
for (int i = 7; i >= 0; i--) {
bytes[i] = (static_cast<uint64_t>(value) & mask) >> (i * 8);
mask >>= 8;