Use posix_memalign to allocate 16 byte alligned memeory on Linux/MacOS.
This commit is contained in:
1
main.cpp
1
main.cpp
@@ -272,6 +272,7 @@ int main(int Argc, char *Argv[]) {
|
||||
g->cppArgs.push_back(argv[i]);
|
||||
else if (!strncmp(argv[i], "--addressing=", 13)) {
|
||||
if (atoi(argv[i] + 13) == 64)
|
||||
// FIXME: this doesn't make sense on 32 bit platform.
|
||||
g->opt.force32BitAddressing = false;
|
||||
else if (atoi(argv[i] + 13) == 32)
|
||||
g->opt.force32BitAddressing = true;
|
||||
|
||||
Reference in New Issue
Block a user