From 052694653f137ef661707ec0cdb53b989702b5bc Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 24 Jul 2018 09:07:21 +0930 Subject: Makefile: Remove -mno-direct-move cflag GCC 8 warns that -mno-direct-move is depreciated. We had it there so we wouldn't use VSX registers in skiboot, as they are not saved/restored, however Segher confirms: > if you already have -mno-altivec then -mno-direct-move does zilch So it was never doing anything. Resolves: open-power/skiboot#186 Signed-off-by: Joel Stanley Signed-off-by: Stewart Smith --- Makefile.main | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.main b/Makefile.main index a155e1e..487aa73 100644 --- a/Makefile.main +++ b/Makefile.main @@ -179,7 +179,6 @@ CFLAGS += $(call try-cflag,$(CC),-mno-multiple) # do not use any automatic vector foo # While it would be safe during boot, we don't save/restore across OPAL calls CFLAGS += $(call try-cflag,$(CC),-mno-vsx) \ - $(call try-cflag,$(CC),-mno-direct-move) \ $(call try-cflag,$(CC),-mno-altivec) # Do not use load/store update. You REALLY do not want to use this! -- cgit v1.1