diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
| commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
| tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /test/CodeGen/SPARC/constpool.ll | |
| parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/SPARC/constpool.ll')
| -rw-r--r-- | test/CodeGen/SPARC/constpool.ll | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/test/CodeGen/SPARC/constpool.ll b/test/CodeGen/SPARC/constpool.ll index d93a53b3ac04..b861676ce3e1 100644 --- a/test/CodeGen/SPARC/constpool.ll +++ b/test/CodeGen/SPARC/constpool.ll @@ -12,15 +12,17 @@ entry: ; abs32: floatCP ; abs32: sethi %hi(.LCPI0_0), %[[R:[gilo][0-7]]] +; abs32: jmp %o7+8 ; abs32: ld [%[[R]]+%lo(.LCPI0_0)], %f -; abs32: jmp %i7+8 + ; abs44: floatCP ; abs44: sethi %h44(.LCPI0_0), %[[R1:[gilo][0-7]]] ; abs44: add %[[R1]], %m44(.LCPI0_0), %[[R2:[gilo][0-7]]] ; abs44: sllx %[[R2]], 12, %[[R3:[gilo][0-7]]] +; abs44: jmp %o7+8 ; abs44: ld [%[[R3]]+%l44(.LCPI0_0)], %f1 -; abs44: jmp %i7+8 + ; abs64: floatCP ; abs64: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]] @@ -28,8 +30,9 @@ entry: ; abs64: sethi %hh(.LCPI0_0), %[[R3:[gilo][0-7]]] ; abs64: add %[[R3]], %hm(.LCPI0_0), %[[R4:[gilo][0-7]]] ; abs64: sllx %[[R4]], 32, %[[R5:[gilo][0-7]]] +; abs64: jmp %o7+8 ; abs64: ld [%[[R5]]+%[[R2]]], %f1 -; abs64: jmp %i7+8 + ; v8pic32: floatCP ; v8pic32: _GLOBAL_OFFSET_TABLE_ @@ -38,6 +41,9 @@ entry: ; v8pic32: ld [%[[GOT:[gilo][0-7]]]+%[[Goffs]]], %[[Gaddr:[gilo][0-7]]] ; v8pic32: ld [%[[Gaddr]]], %f0 ; v8pic32: jmp %i7+8 +; v8pic32: restore + + ; v9pic32: floatCP ; v9pic32: _GLOBAL_OFFSET_TABLE_ @@ -46,3 +52,6 @@ entry: ; v9pic32: ldx [%[[GOT:[gilo][0-7]]]+%[[Goffs]]], %[[Gaddr:[gilo][0-7]]] ; v9pic32: ld [%[[Gaddr]]], %f1 ; v9pic32: jmp %i7+8 +; v9pic32: restore + + |
