Split graphite from HARDCORE optimizations

Change-Id: I9ebd7e5eec78bb441a79767a6f94c6f3db49eba8
Signed-off-by: Petr kecinzer Řezníček <kecinzer@gmail.com>