Re: [理工] [計組]-效能
※ 引述《gn00618777 (123)》之銘言:
: A certain machine with a 10ns(10*10^9s) clock period can
: perform jump(1 cycle),branches(3 cycles),arithmetic intruction(2 cycles)
: multiply intructions(5 cycles),and memory intruction(4 cycles).
: A certain program has 10% jumps, 10% branches,50% arithmetic,10%
: multiply. and 20% memory intructions.
: What is the CPI of this program on this machine?
:
Q: A 5-cycle multiply-add instruction is implemented that
combines an arithmetic and multiply instruction. 50%
of the multiplies can be turned into multiply-adds.
what is the new CPI?
感覺解答是錯的,想請教各位
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.168.60.249
→
09/19 23:56, , 1F
09/19 23:56, 1F
→
09/20 00:21, , 2F
09/20 00:21, 2F
→
09/20 00:22, , 3F
09/20 00:22, 3F
→
09/20 00:22, , 4F
09/20 00:22, 4F
推
09/20 00:30, , 5F
09/20 00:30, 5F
→
09/20 00:31, , 6F
09/20 00:31, 6F
→
09/20 00:31, , 7F
09/20 00:31, 7F
→
09/20 00:47, , 8F
09/20 00:47, 8F
→
09/20 00:47, , 9F
09/20 00:47, 9F
→
09/20 01:41, , 10F
09/20 01:41, 10F
→
09/20 01:41, , 11F
09/20 01:41, 11F
討論串 (同標題文章)