Hi,
this is a patch to recognize 'nvptx' as a target CPU. PTX is a virtual processor used for accelerator cards. the nvptx name is that already used by the LLVM compiler.

thanks,

nathan
2013-09-04  Nathan Sidwell  <nat...@codesourcery.com>

        * config.sub (nvptx): New.

Index: config.sub
===================================================================
--- config.sub  (revision 418714)
+++ config.sub  (working copy)
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2013 Free Software Foundation, Inc.
 
-timestamp='2013-08-08'
+timestamp='2013-09-04'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -324,7 +324,7 @@ case $basic_machine in
        c6x)
                basic_machine=tic6x-unknown
                ;;
-       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
                basic_machine=$basic_machine-unknown
                os=-none
                ;;
_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to