From 86e8dcd5e291965c27761633174fd9e65a293136 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Mon, 2 Mar 2015 20:39:28 +0000 Subject: arm64: Improve constant generation, with tests. --- tests/tests2/73_arm64.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests/tests2/73_arm64.c') 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) -- cgit v1.3.1