Revision 985a19d6 target-ppc/op_mem.h

b/target-ppc/op_mem.h
134 134
PPC_LDF_OP(fd, ldfq);
135 135
PPC_LDF_OP(fs, ldfl);
136 136

  
137
/* Load and set reservation */
138
PPC_OP(glue(lwarx, MEMSUFFIX))
139
{
140
    if (T0 & 0x03) {
141
        do_queue_exception(EXCP_ALIGN);
142
        do_process_exceptions();
143
    } else {
144
	glue(ldl, MEMSUFFIX)((void *)T0);
145
	regs->reserve = T0 & ~0x03;
146
    }
147
    RETURN();
148
}
149

  
137 150
/* Store with reservation */
138 151
PPC_OP(glue(stwcx, MEMSUFFIX))
139 152
{

Also available in: Unified diff