BG/Q: force compilation of QPX based memcopy with O354/254/5
commitbde4765b956d0f11d27e3a1603dd6e0b19f63183
authorNikhil Jain <nikhil@illinois.edu>
Mon, 26 May 2014 04:57:22 +0000 (26 04:57 +0000)
committerGerrit Code Review <gerrit2@charm.cs.uiuc.edu>
Thu, 29 May 2014 06:35:31 +0000 (29 01:35 -0500)
treedb4a18a6603010ee187dbf02adc5e1843d3d2c24
parentcefd85b4373eaca5030aacbe9496135bc40002c5
BG/Q: force compilation of QPX based memcopy with O3

Recently, we observed erratic behavior by CmiMemcpy on BG/Q
which uses QPX unit. We found that if compiled without -O3,
QPX based code generates incorrect assembly and hence incorrect
output. This workaround forces use of O3 while compiling that
part of code, till IBM fixes the issues. Compiler versions
that showed this behavior:
/soft/compilers/ibmcmp-aug2013/vac/bg/12.1/ (on vesta)
/soft/compilers/ibmcmp-feb2014/vac/bg/12.1/ (on vesta)
Driver: /bgsys/drivers/V1R2M1/ppc64

Change-Id: I12ee1293955b7cd2cba8317109f22dbf347ef005
src/arch/pami/Makefile.machine
src/arch/pamilrts/Makefile.machine
src/util/cmimemcpy_qpx.c [copied from src/util/cmimemcpy_qpx.h with 86% similarity]
src/util/cmimemcpy_qpx.h