Skip to content

Commit

Permalink
Makefile: Remove -mno-direct-move cflag
Browse files Browse the repository at this point in the history
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: #186
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
shenki authored and stewartsmith committed Jul 26, 2018
1 parent 25f7266 commit 0526946
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile.main
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 0526946

Please sign in to comment.