ldstop.isa (10760:8f5993cfa916) ldstop.isa (11159:9459593cb649)
1// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 413 unchanged lines hidden (view full) ---

422 case 8:
423 FpData_df = *(double *)&Mem;
424 break;
425 default:
426 panic("Unhandled data size in LdFp87.\\n");
427 }
428 ''', big = False)
429
1// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 413 unchanged lines hidden (view full) ---

422 case 8:
423 FpData_df = *(double *)&Mem;
424 break;
425 default:
426 panic("Unhandled data size in LdFp87.\\n");
427 }
428 ''', big = False)
429
430 # Load integer from memory into x87 top-of-stack register.
431 # Used to implement fild instruction.
432 defineMicroLoadOp('Ldifp87', code='''
433 switch (dataSize)
434 {
435 case 2:
436 FpData_df = (int64_t)sext<16>(Mem);
437 break;
438 case 4:
439 FpData_df = (int64_t)sext<32>(Mem);
440 break;
441 case 8:
442 FpData_df = (int64_t)Mem;
443 break;
444 default:
445 panic("Unhandled data size in LdIFp87.\\n");
446 }
447 ''', big = False)
448
430 def defineMicroStoreOp(mnemonic, code, completeCode="", mem_flags="0"):
431 global header_output
432 global decoder_output
433 global exec_output
434 global microopClasses
435 Name = mnemonic
436 name = mnemonic.lower()
437

--- 99 unchanged lines hidden ---
449 def defineMicroStoreOp(mnemonic, code, completeCode="", mem_flags="0"):
450 global header_output
451 global decoder_output
452 global exec_output
453 global microopClasses
454 Name = mnemonic
455 name = mnemonic.lower()
456

--- 99 unchanged lines hidden ---