[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805044: marked as done (gcc-4.9: the option -ftree-vectorizer-verbose does not work)



Your message dated Fri, 27 Nov 2015 15:39:27 +0100
with message-id <56586B1F.6020400@debian.org>
and subject line Re: Bug#805044: gcc-4.9: the option -ftree-vectorizer-verbose does not work
has caused the Debian Bug report #805044,
regarding gcc-4.9: the option -ftree-vectorizer-verbose does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
805044: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805044
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.9
Version: 4.9.2-10
Severity: minor

dear mantainers, the option -ftree-vectorizer-verbose does not print anything.

Consider the code in attachment

Try compiling it with the command
# gcc -Ofast -ftree-vectorizer-verbose=6 --std=c99 -msse -c vectorizeme.c

I tried in Debian/Wheezy, gcc --version -> gcc (Debian 4.7.2-5) 4.7.2
and it prints lotsa useful info.

I tried in Debian/Jessi, version as below, and nothing is printed....

It is a pity since -ftree-vectorizer-verbose helped me in the past
optimizing some code, providing impressive speedups.

  a.

ps: I copy pasted the attachment from
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50680
 that though is a different kind of bug...

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-4.9 depends on:
ii  binutils        2.25-5
ii  cpp-4.9         4.9.2-10
ii  gcc-4.9-base    4.9.2-10
ii  libc6           2.19-18+deb8u1
ii  libcloog-isl4   0.18.2-1+b2
ii  libgcc-4.9-dev  4.9.2-10
ii  libgmp10        2:6.0.0+dfsg-6
ii  libisl10        0.12.2-2
ii  libmpc3         1.0.2-1
ii  libmpfr4        3.1.2-2
ii  zlib1g          1:1.2.8.dfsg-2+b1

Versions of packages gcc-4.9 recommends:
ii  libc6-dev  2.19-18+deb8u1

Versions of packages gcc-4.9 suggests:
pn  gcc-4.9-doc       <none>
pn  gcc-4.9-locales   <none>
pn  gcc-4.9-multilib  <none>
pn  libasan1-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
pn  libgcc1-dbg       <none>
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
float * __restrict__ x;
float * __restrict__ y;
float * __restrict__ z;

float v1[4],v2[4],v3[4];

struct A {
  float a[4];
};

struct A a1, a2, a3;

void foo ()
{

 float * __restrict__ pin = &x[0];
 float * __restrict__ pout =&y[0];

  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;
}

void voo() {

 float * __restrict__ pin = &v1[0];
 float * __restrict__ pout =&v2[0];

  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;


}

void aoo() {

 float * __restrict__ pin = &a1.a[0];
 float * __restrict__ pout =&a2.a[0];

  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;
  *pout++ = *pin++;


}


void loop() {
  for (int i=0;i!=4;++i) x[i]=y[i]+z[i];
}

void voop() {
  for (int i=0;i!=4;++i) v1[i]=v2[i]+v3[i];
}

void aoop() {
  for (int i=0;i!=4;++i) a1.a[i]=a2.a[i]+a3.a[i];
}

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On 27.11.2015 03:03, Matthias Klose wrote:
Control: forwarded -1 https://gcc.gnu.org/PR68573
Control: tags -1 + upstream

Does nothing.  Preserved for backward compatibility.
Works as designed.  Use -fopt-info-vec.

--- End Message ---

Reply to: