aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bitpattern.h
diff options
context:
space:
mode:
authorRobert Ou <rqou@robertou.com>2018-05-18 22:45:43 -0700
committerRobert Ou <rqou@robertou.com>2018-05-18 22:53:52 -0700
commitbea71e71ca4f2b756519cd67ec99d24f1e70b53b (patch)
treeb5d90d65e4cb43c3a3a403b566357d19664ce5df /kernel/bitpattern.h
parent0abe7c6c77cdb4017cf5d8c34766e43806ce4876 (diff)
downloadyosys-bea71e71ca4f2b756519cd67ec99d24f1e70b53b.tar.gz
yosys-bea71e71ca4f2b756519cd67ec99d24f1e70b53b.tar.bz2
yosys-bea71e71ca4f2b756519cd67ec99d24f1e70b53b.zip
Force abc to align memory to 8 bytes
Apparently abc has a memory pool implementation that by default returns memory that is unaligned. There is a workaround in the abc makefile that uses uname to look for "arm" specifically and then sets the alignment. However, ARM is not the only platform that requires proper alignment (e.g. emscripten does too). For now, pessimistically force the alignment for 8 bytes all the time (somehow 4 wasn't enough for fixing emscripten despite being approximately a 32-bit platform).
Diffstat (limited to 'kernel/bitpattern.h')
0 files changed, 0 insertions, 0 deletions