On Wed, 7 Jul 2010 10:19:18 +0100 Richard J Moore <[email protected]> wrote:
> gcc/as option --march=z10 should certainly provide EPSW, but I'm I'm > certain it's older than z10. When I mean new I mean more recent than > s/370 :-) > > But as mentioned in another response, unless you require the entire PSW to > be stored you are better off using 3 or 4 instructions designed to extracts > specific parts of the PSW. The relevant line from the binutils opcode description file b98d epsw RRE_RR "extract psw" z900 esa,zarch That instruction exists for esa and zarch mode starting with the z900. A -march=z900 should enable the instruction if your binutils version is recent enough. With older binutils version you can use the ".insn" pseudo-op: .insn rre,0xb98d0000,%r<x>,%r<y> -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
