[llvm-bugs] [Bug 38379] New: Unrecognized value "pwr4" and "pwr7" on a Power8 machine

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 30 21:14:48 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38379

            Bug ID: 38379
           Summary: Unrecognized value "pwr4" and "pwr7" on a Power8
                    machine
           Product: clang
           Version: 4.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: noloader at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm working on GCC112 on the compile farm. GCC1128 is Power8/ISA 2.07, but
Power4 and Power7 probes are failing:

gcc2-power8]$ xlC -qarch=pwr4 -qaltivec -c adhoc.cpp
warning: 1540-5203 Unrecognized value "pwr4" specified with option "arch".
1 warning generated.
gcc2-power8]$ xlC -qarch=pwr7 -qaltivec -c adhoc.cpp
warning: 1540-5203 Unrecognized value "pwr7" specified with option "arch".
1 warning generated.
gcc2-power8]$ xlC -qarch=pwr8 -qaltivec -c adhoc.cpp
gcc2-power8]$

And from GCC119 which is the AIX machine on the compile farm:

-bash-4.4$ xlC -qarch=pwr4 -c adhoc.cpp
-bash-4.4$ xlC -qarch=pwr7 -qaltivec -c adhoc.cpp
-bash-4.4$ xlC -qarch=pwr8 -qaltivec -c adhoc.cpp
-bash-4.4$

The new behavior causes some configure's to produce incorrect results (like
ours):

if (Power4); then
  if (Power7); then
    if (Power8); then
      ...
    fi
  fi
fi

-----

GCC119/AIX machine:

-bash-4.4$ xlC -qversion
IBM XL C/C++ for AIX, V13.1.3 (5725-C72, 5765-J07)
Version: 13.01.0003.0004

GCC112/Linux machine:

$ xlC -qversion
IBM XL C/C++ for Linux, V13.1.6 (Community Edition)
Version: 13.01.0006.0001

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180731/f4c9cf30/attachment.html>


More information about the llvm-bugs mailing list