This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246922 - NetBeans doesn't work with -xarch=avx (AVX)
Summary: NetBeans doesn't work with -xarch=avx (AVX)
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 12:09 UTC by soldatov
Modified: 2014-09-18 10:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-09-08 12:09:42 UTC
_mm256_load_pd is marked as a unresolved identifier
__m256d - hyperlink doesn't work
In OSS IDE I see "Unable to analyze fie. Exit code: 2" sign too.

Compiler: Oracle Solaris Studio 12.4
Build|C++ Compiler|Additional Options: -xarch=avx
Code:
#include <sunmedia_intrin.h>

int main(int argc, char* argv[]) {
    double a[4] = {1.0, 2.0, 3.0, 4.0};
    __m256d x = _mm256_load_pd(a);
    return 0;
}
Build log:
"/export/files/solarisstudio12.4/bin/dmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/export/files/solarisstudio12.4/bin/dmake"  -f nbproject/Makefile-Debug.mk dist/Debug/OracleSolarisStudio-Solaris-x86/cppapplication_1
mkdir -p build/Debug/OracleSolarisStudio-Solaris-x86
CC -xarch=avx   -c -g -o build/Debug/OracleSolarisStudio-Solaris-x86/main.o main.cpp
mkdir -p build/Debug/OracleSolarisStudio-Solaris-x86
CC -xarch=avx   -c -g -o build/Debug/OracleSolarisStudio-Solaris-x86/main.o main.cpp
mkdir -p dist/Debug/OracleSolarisStudio-Solaris-x86
CC -xarch=avx   -o dist/Debug/OracleSolarisStudio-Solaris-x86/cppapplication_1 build/Debug/OracleSolarisStudio-Solaris-x86/main.o 

BUILD SUCCESSFUL (total time: 1s)
Comment 1 soldatov 2014-09-08 12:20:49 UTC
I created CR19579216 too ("Unable to analyze fie. Exit code: 2" sign)
Comment 2 Alexander Simon 2014-09-08 15:39:36 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/35d679346c71
Comment 3 Alexander Simon 2014-09-08 16:12:58 UTC
additional fix for CR part:
http://hg.netbeans.org/cnd-main/rev/d28ab1bd41e2
Comment 4 Quality Engineering 2014-09-09 02:54:17 UTC
Integrated into 'main-silver', will be available in build *201409090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/35d679346c71
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246922 NetBeans doesn't work with -xarch=avx (AVX)
Comment 5 Alexander Simon 2014-09-09 08:01:06 UTC
additional fix for -library flag:
http://hg.netbeans.org/cnd-main/rev/a7a669b0ad53
Comment 6 Quality Engineering 2014-09-10 02:36:21 UTC
Integrated into 'main-silver', will be available in build *201409100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5f983514481f
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246922 NetBeans doesn't work with -xarch=avx (AVX)
- fixed CR part3 (-xprefetch and -xprofile is important flags)
Comment 7 soldatov 2014-09-17 09:13:35 UTC
I downloaded netbeans-8.0.1-201409170655-cpp.zip and I can reproduce this bug. In comments I see commits into cnd-main and main-silver. Is it really fixed in 8.0.1patch1?
P.S. Bug fixed in nightly Oracle Solaris Studio build.
Comment 8 Quality Engineering 2014-09-17 12:15:29 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/202b7231c0c0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246922 NetBeans doesn't work with -xarch=avx (AVX)
(transplanted from 35d679346c7175a2910e1ef47e4f6182ef3381fb)
Comment 9 soldatov 2014-09-18 10:50:23 UTC
Verified in NetBeans 8.0.1 patch1

>Log Session: Thursday, September 18, 2014 2:47:00 PM MSK
>System Info: 
  Product Version         = NetBeans IDE 8.0.1 (Build 201409180010) (#ef6e99d0c0db)
  Operating System        = SunOS version 5.11 running on amd64
  Java; VM; Vendor        = 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0_05-b13
  Java Home               = /usr/jdk/instances/jdk1.8.0/jre
  System Locale; Encoding = en (nb); UTF-8