David Gibson
e58c3495e6
[PATCH] powerpc: Cleanup LOADADDR etc. asm macros
...
This patch consolidates the variety of macros used for loading 32 or
64-bit constants in assembler (LOADADDR, LOADBASE, SET_REG_TO_*). The
idea is to make the set of macros consistent across 32 and 64 bit and
to make it more obvious which is the appropriate one to use in a given
situation. The new macros and their semantics are described in the
comments in ppc_asm.h.
In the process, we change several places that were unnecessarily using
immediate loads on ppc64 to use the GOT/TOC. Likewise we cleanup a
couple of places where we were clumsily subtracting PAGE_OFFSET with
asm instructions to use assemble-time arithmetic or the toreal() macro
instead.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-13 21:16:23 +11:00
..
2006-01-12 20:09:30 +11:00
2005-09-09 22:11:34 +10:00
2005-09-21 19:21:08 +10:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:59:17 -08:00
2005-11-11 22:25:39 +11:00
2005-10-11 09:59:38 +10:00
2006-01-03 13:11:06 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:54 +11:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:35 +10:00
2005-09-28 15:42:53 +10:00
2006-01-08 20:13:39 -08:00
2005-11-10 13:09:22 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 16:02:52 +11:00
2005-08-30 13:32:05 +10:00
2006-01-09 15:13:08 +11:00
2005-10-20 20:53:39 +10:00
2006-01-09 15:13:08 +11:00
2005-08-30 13:32:05 +10:00
2006-01-09 10:03:44 -08:00
2006-01-09 15:13:08 +11:00
2006-01-10 15:28:32 +11:00
2006-01-10 15:28:32 +11:00
2006-01-11 02:07:34 +01:00
2005-08-30 13:32:05 +10:00
2005-09-09 22:11:34 +10:00
2005-09-07 16:57:39 -07:00
2006-01-09 14:52:17 +11:00
2006-01-09 15:13:08 +11:00
2005-11-10 13:10:38 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:14:05 +11:00
2006-01-13 20:56:38 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-09 16:19:53 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-08 12:20:34 +11:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:34 +10:00
2005-11-01 14:36:30 +11:00
2006-01-12 20:09:30 +11:00
2005-08-30 13:32:05 +10:00
2005-11-03 16:58:17 +11:00
2006-01-09 14:48:57 +11:00
2005-11-11 22:19:56 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:52:21 +11:00
2006-01-10 08:01:27 -08:00
2006-01-09 15:13:08 +11:00
2005-09-19 09:38:49 +10:00
2006-01-10 08:01:40 -08:00
2005-09-09 22:11:34 +10:00
2006-01-09 15:13:08 +11:00
2005-08-30 13:32:06 +10:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:44:32 +11:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:34 +10:00
2005-10-20 20:53:39 +10:00
2006-01-06 08:33:22 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:35 +10:00
2006-01-09 15:59:19 -08:00
2005-09-09 22:11:34 +10:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:14:05 +11:00
2006-01-09 15:13:08 +11:00
2006-01-11 14:49:45 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-11 16:27:21 +11:00
2006-01-09 15:13:08 +11:00
2006-01-11 14:49:24 +11:00
2006-01-12 20:09:30 +11:00
2006-01-09 14:51:08 +11:00
2006-01-11 14:49:45 +11:00
2006-01-09 15:13:08 +11:00
2005-11-19 20:17:32 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:34 +10:00
2005-09-21 19:21:07 +10:00
2006-01-13 21:16:23 +11:00
2006-01-10 15:30:39 +11:00
2006-01-09 15:13:08 +11:00
2006-01-13 21:11:57 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:01 +11:00
2005-11-10 13:09:22 +11:00
2006-01-09 15:44:32 +11:00
2005-08-30 13:32:06 +10:00
2006-01-11 14:48:26 +11:00
2005-10-22 15:57:55 +10:00
2005-10-31 13:37:12 +11:00
2005-10-27 16:45:52 +10:00
2006-01-09 15:14:05 +11:00
2006-01-09 15:13:08 +11:00
2005-10-31 13:37:12 +11:00
2005-09-09 22:11:34 +10:00
2006-01-10 16:19:05 +11:00
2005-09-09 22:11:35 +10:00
2005-09-09 22:11:35 +10:00
2005-09-09 22:11:34 +10:00
2005-11-03 16:24:25 +11:00
2005-09-12 17:19:12 +10:00
2006-01-09 15:13:08 +11:00
2005-11-07 13:18:13 +11:00
2006-01-10 00:10:13 +01:00
2005-09-09 22:11:34 +10:00
2005-09-09 22:11:34 +10:00
2006-01-09 15:13:08 +11:00
2005-09-21 19:21:09 +10:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:44:57 +11:00
2005-10-28 22:48:08 +10:00
2005-11-03 16:02:23 +11:00
2005-09-21 19:21:10 +10:00
2005-09-09 22:11:34 +10:00
2006-01-09 15:13:08 +11:00
2006-01-12 10:21:22 -08:00
2006-01-09 15:13:08 +11:00
2005-09-09 22:11:34 +10:00
2005-11-01 14:36:55 +11:00
2006-01-12 09:08:59 -08:00
2005-11-01 16:59:20 +11:00
2005-10-12 08:24:47 -07:00
2006-01-09 15:13:08 +11:00
2005-11-06 16:56:47 -08:00
2006-01-12 09:08:50 -08:00
2005-10-27 16:45:50 +10:00
2005-11-10 13:10:38 +11:00
2005-11-03 16:59:17 +11:00
2006-01-11 14:48:26 +11:00
2005-09-09 22:11:34 +10:00
2005-10-20 20:53:39 +10:00
2006-01-09 14:49:34 +11:00
2005-09-09 22:11:35 +10:00
2006-01-09 15:13:08 +11:00
2005-11-16 14:05:11 +11:00
2005-09-21 19:21:09 +10:00
2006-01-09 15:13:08 +11:00
2005-11-08 22:55:08 +11:00
2005-08-30 13:32:05 +10:00