OSDN Git Service

sparc: VIS mnemonics
authorMichael Kostylev <michael.kostylev@gmail.com>
Thu, 16 May 2013 13:29:46 +0000 (09:29 -0400)
committerDiego Biurrun <diego@biurrun.de>
Fri, 17 May 2013 13:37:03 +0000 (15:37 +0200)
commit2768f7e4fef56f2d48b4593b78e953098d456582
treed4f3fd31881ed0caaff8114a5d808a05dcbc25ed
parent259af1b92370b32f6d0b9a6de314db4b44c2481d
sparc: VIS mnemonics

Currently, if VIS is enabled by configure, it will also be enabled at
run-time regardless of its support in the hardware. Thus, masking VIS
usage as it is done in vis.h by constructing binary instructions is
pointless. Using normal VIS mnemonics in inline assembly allows to take
advantage of automatic register allocation, gets rid of register
variables, which are unsupported by suncc for SPARC, and improves code
readability.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/sparc/vis.h