aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/73_arm64.c
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-03-02 20:39:28 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-03-02 20:39:28 +0000
commit86e8dcd5e291965c27761633174fd9e65a293136 (patch)
tree7252c4e6fb85bfc165df16ea74ca2f16b3f7ef1d /tests/tests2/73_arm64.c
parent883fd365c7e17b6ede1a49835661b2446c752d19 (diff)
downloadtinycc-86e8dcd5e291965c27761633174fd9e65a293136.tar.gz
tinycc-86e8dcd5e291965c27761633174fd9e65a293136.tar.bz2
arm64: Improve constant generation, with tests.
Diffstat (limited to 'tests/tests2/73_arm64.c')
-rw-r--r--tests/tests2/73_arm64.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/tests2/73_arm64.c b/tests/tests2/73_arm64.c
index 31abbd6..21a2462 100644
--- a/tests/tests2/73_arm64.c
+++ b/tests/tests2/73_arm64.c
@@ -409,6 +409,24 @@ void movi(void)
pll(0x007fffc0);
pll(0x03fff80003fff800);
pll(0x0007fffffffffe00);
+
+ pll(0xabcd1234);
+ pll(0xabcd00001234);
+ pll(0xabcd000000001234);
+ pll(0xabcd12340000);
+ pll(0xabcd000012340000);
+ pll(0xabcd123400000000);
+ pll(0xffffffffabcd1234);
+ pll(0xffffabcdffff1234);
+ pll(0xabcdffffffff1234);
+ pll(0xffffabcd1234ffff);
+ pll(0xabcdffff1234ffff);
+ pll(0xabcd1234ffffffff);
+
+ pll(0xffffef0123456789);
+ pll(0xabcdef012345ffff);
+
+ pll(0xabcdef0123456789);
}
void pcs(void)