platform_system_core/libpixelflinger
Pirama Arumuga Nainar 5d88cef82b Mark gglMulx and gglMulAddx as always_inline
Bug: http://b/116873221
Bug: http://b/124451159

This is to get them building with O0 (needed for coverage builds).  At
O0, without the always_inline, the compiler is not able to reconcile the
constraints in the inline assembly.

In file included from system/core/libpixelflinger/trap.cpp:27:
In file included from system/core/libpixelflinger/trap.h:22:
In file included from
system/core/libpixelflinger/include/private/pixelflinger/ggl_context.h:27:
system/core/libpixelflinger/include/private/pixelflinger/ggl_fixed.h:113:9:
error: invalid operand for inline asm constraint 'I'
  asm("smull  %[lo], %[hi], %[x], %[y]            \n"
      ^
system/core/libpixelflinger/include/private/pixelflinger/ggl_fixed.h:136:9:
error: invalid operand for inline asm constraint 'I'
  asm("smull  %[lo], %[hi], %[x], %[y]            \n"
      ^
2 errors generated.

Test: m NATIVE_COVERAGE=true COVERAGE_PATHS=system/core/libpixelflinger
Test: m
Change-Id: Ia4516b19b957687b5fa25d2d100679abcec29366
2019-02-14 11:59:48 -08:00
..
arch-arm64 libpixelflinger: Avoid using x18 register in blend implementation. 2018-08-29 16:23:21 -07:00
arch-mips Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
arch-mips64 Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
codeflinger Ignore null-pointer-arithmetic warning from dlmalloc include 2018-12-11 23:08:32 -08:00
include Mark gglMulx and gglMulAddx as always_inline 2019-02-14 11:59:48 -08:00
tests Add support for memfd 2019-02-07 00:40:13 +00:00
Android.bp Convert libpixelflinger to Android.bp 2018-11-16 19:15:38 -08:00
buffer.cpp Suppress implicit-fallthrough warnings. 2018-09-17 16:50:11 +00:00
buffer.h
clear.cpp
clear.h
col32cb16blend.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
col32cb16blend_neon.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
fixed.cpp Remove dead gglFastDivx. 2018-08-02 16:18:24 -07:00
format.cpp
MODULE_LICENSE_APACHE2
NOTICE
picker.cpp Fix compiler warnings in libpixelflinger 2014-02-20 14:21:55 -08:00
picker.h
pixelflinger.cpp Linux always has POSIX clocks available. 2015-01-09 16:17:46 -08:00
raster.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
raster.h
scanline.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
scanline.h
t32cb16blend.S Replace .align with .balign to avoid ambiguity 2016-07-13 22:13:02 +02:00
trap.cpp Use -Werror in system/core/libpixelflinger 2017-11-02 15:16:18 -07:00
trap.h