target-tilegx: Add several helpers for instructions translation
commit5b212be632c8ec1e1fd851055445562ebe705352
authorChen Gang <xili_gchen_5257@hotmail.com>
Thu, 20 Aug 2015 21:41:51 +0000 (21 05:41 +0800)
committerRichard Henderson <rth@twiddle.net>
Tue, 15 Sep 2015 14:41:36 +0000 (15 07:41 -0700)
tree058dcc89d4e0be70c4001e573939a1db653ec7fb
parent9f64170df2c767ea65adee6434968034fb2ff5aa
target-tilegx: Add several helpers for instructions translation

The related instructions are exception, cntlz, cnttz, shufflebytes.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Message-Id: <BLU436-SMTP83F96FD8422BE49AFDC9DFB9660@phx.gbl>
[rth: Remove incorrect implementation of add_saturate.]
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-tilegx/helper.c [new file with mode: 0644]
target-tilegx/helper.h [new file with mode: 0644]