Revision 09d85fb8 target-i386/op_helper.c

b/target-i386/op_helper.c
4350 4350
    CPU86_LDouble tmp;
4351 4351
    target_ulong addr;
4352 4352

  
4353
    /* The operand must be 16 byte aligned */
4354
    if (ptr & 0xf) {
4355
        raise_exception(EXCP0D_GPF);
4356
    }
4357

  
4353 4358
    fpus = (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11;
4354 4359
    fptag = 0;
4355 4360
    for(i = 0; i < 8; i++) {
......
4406 4411
    CPU86_LDouble tmp;
4407 4412
    target_ulong addr;
4408 4413

  
4414
    /* The operand must be 16 byte aligned */
4415
    if (ptr & 0xf) {
4416
        raise_exception(EXCP0D_GPF);
4417
    }
4418

  
4409 4419
    env->fpuc = lduw(ptr);
4410 4420
    fpus = lduw(ptr + 2);
4411 4421
    fptag = lduw(ptr + 4);

Also available in: Unified diff