aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/helpers.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2011-09-06 03:55:35 +0400
committerBlue Swirl <blauwirbel@gmail.com>2011-09-10 16:57:38 +0000
commit3580ecad0acf25a28464c145f2c74a929d0e57b1 (patch)
treea608720eeb1e6e6dfb289682b91781d803bcad20 /target-xtensa/helpers.h
parentb8132eff891bce658b799df20748a1cb39f4dc06 (diff)
target-xtensa: implement shifts (ST1 and RST1 groups)
- ST1: SAR (shift amount special register) manipulation, NSA(U); - RST1: shifts, 16-bit multiplication. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helpers.h')
-rw-r--r--target-xtensa/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-xtensa/helpers.h b/target-xtensa/helpers.h
index c298d74335..976c8d85a0 100644
--- a/target-xtensa/helpers.h
+++ b/target-xtensa/helpers.h
@@ -1,5 +1,7 @@
#include "def-helper.h"
DEF_HELPER_1(exception, void, i32)
+DEF_HELPER_1(nsa, i32, i32)
+DEF_HELPER_1(nsau, i32, i32)
#include "def-helper.h"