lsq.cc (12127:4207df055b0d) | lsq.cc (12179:432a44667130) |
---|---|
1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 83 unchanged lines hidden (view full) --- 92{ 93 /* 'end' here means the address of the byte just past the request 94 * blocks */ 95 Addr req2_end_addr = req2_addr + req2_size; 96 Addr req1_end_addr = req1_addr + req1_size; 97 98 AddrRangeCoverage ret; 99 | 1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 83 unchanged lines hidden (view full) --- 92{ 93 /* 'end' here means the address of the byte just past the request 94 * blocks */ 95 Addr req2_end_addr = req2_addr + req2_size; 96 Addr req1_end_addr = req1_addr + req1_size; 97 98 AddrRangeCoverage ret; 99 |
100 if (req1_addr > req2_end_addr || req1_end_addr < req2_addr) | 100 if (req1_addr >= req2_end_addr || req1_end_addr <= req2_addr) |
101 ret = NoAddrRangeCoverage; 102 else if (req1_addr <= req2_addr && req1_end_addr >= req2_end_addr) 103 ret = FullAddrRangeCoverage; 104 else 105 ret = PartialAddrRangeCoverage; 106 107 return ret; 108} --- 1557 unchanged lines hidden --- | 101 ret = NoAddrRangeCoverage; 102 else if (req1_addr <= req2_addr && req1_end_addr >= req2_end_addr) 103 ret = FullAddrRangeCoverage; 104 else 105 ret = PartialAddrRangeCoverage; 106 107 return ret; 108} --- 1557 unchanged lines hidden --- |