fp.isa (12136:1070125670e2) | fp.isa (12234:78ece221f9f5) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 Riscv Developers 4// Copyright (c) 2016-2017 The University of Virginia 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 20 unchanged lines hidden (view full) --- 29// 30// Authors: Alec Roelke 31 32//////////////////////////////////////////////////////////////////// 33// 34// Floating point operation instructions 35// 36def template FloatExecute {{ | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 Riscv Developers 4// Copyright (c) 2016-2017 The University of Virginia 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 20 unchanged lines hidden (view full) --- 29// 30// Authors: Alec Roelke 31 32//////////////////////////////////////////////////////////////////// 33// 34// Floating point operation instructions 35// 36def template FloatExecute {{ |
37 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, | 37 Fault %(class_name)s::execute(ExecContext *xc, |
38 Trace::InstRecord *traceData) const 39 { 40 Fault fault = NoFault; 41 42 %(op_decl)s; 43 %(op_rd)s; 44 if (fault == NoFault) { 45 switch (ROUND_MODE) { --- 83 unchanged lines hidden --- | 38 Trace::InstRecord *traceData) const 39 { 40 Fault fault = NoFault; 41 42 %(op_decl)s; 43 %(op_rd)s; 44 if (fault == NoFault) { 45 switch (ROUND_MODE) { --- 83 unchanged lines hidden --- |