[ACTIVITY] Jan 02 - Jan 05

2012-01-05 Thread Ulrich Weigand

== GDB ==

 * Ongoing discussion on remote support for "info proc" and
   core file generation.

 * Fixed various GDB 7.4 regressions on multiple platforms.

== GCC ==

 * Patch review week.

 * Started looking into current status of performance patches.


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand | Phone: +49-7031/16-3727
  STSM, GNU compiler and toolchain for Linux on System z and Cell/B.E.
  IBM Deutschland Research & Development GmbH
  Vorsitzender des Aufsichtsrats: Martin Jetter | Geschäftsführung: Dirk
Wittkopp
  Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294


___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Operations on intrinsic types

2012-01-05 Thread Michael Hope
Hi Ramana.  You were right about being able to do operations on
intrinsic types.  Instead of doing the admittedly made up:

int16x4_t foo2(int16x4_t a, int16x4_t b)
{
  int16x4_t ca = vdup_n_s16(0.2126*256);
  int16x4_t cb = vdup_n_s16(0.7152*256);

  return vadd_s16(vmul_s16(ca, a), vmul_s16(cb, b));
}

you can do:

int16x4_t foo3(int16x4_t a, int16x4_t b)
{
  int16x4_t ca = vdup_n_s16(0.2126*256);
  int16x4_t cb = vdup_n_s16(0.7152*256);

  return ca*a + cb*b;
}

which is more readable and, as an added bonus, generates the
multiply-and-accumulate that I missed when using intrinsics.  Nice.

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain