In the early days of personal computing CPU bugs were so rare as to be newsworthy. The infamous Pentium FDIV bug is remembered by many, and even earlier CPUs had their own issues (the 6502 comes to mind). Nowadays they've become so common that I encounter them routinely while triaging crash reports sent from Firefox users. Given the nature of CPUs you might wonder how these bugs arise, how they manifest and what can and can't be done about them. 🧡 1/31

0
0
1

If you have a fediverse account, you can quote this note from your own instance. Search https://mas.to/users/gabrielesvelto/statuses/115939583202357863 on your instance and quote it. (Note that quoting is not supported in Mastodon.)

μ˜ˆμ „μ—λŠ” CPU 버그가 λ“œλ¬Όμ—ˆμ§€λ§Œ, μ΅œκ·Όμ—λŠ” λ³΅μž‘μ„±μ˜ μ¦κ°€λ‘œ 많이 ν”ν•΄μ‘Œλ‹€λŠ” μ΄μ•ΌκΈ°λ‘œ μ‹œμž‘ν•˜λŠ” CPU 버그에 λŒ€ν•œ 쒋은 λ§ˆμŠ€ν† λˆ ν¬μŠ€νŒ…. 버그가 μ–΄λ–€ μ‹μœΌλ‘œ λ°œμƒν•˜κ³  여기에 μ–΄λ–€ μ‹μœΌλ‘œ μ€€λΉ„/λŒ€μ²˜ν•˜λŠ”μ§€μ— λŒ€ν•΄ μžμ„Ένžˆ 이야기λ₯Ό ν•΄μ€€λ‹€. μŠ΅κ΄€μ μœΌλ‘œ λ§ˆμŠ€ν† λˆμ— λ“€μ–΄κ°”λ‹€κ°€ μƒλ‹Ήνžˆ ν₯λ―Έλ‘­κ³  κΉŠμ΄μžˆλŠ” 이야기λ₯Ό λ°œκ²¬ν•΄μ„œ 기뻀닀. μ£Όμ†ŒλŠ” μ—¬κΈ°

μ˜ˆμ „μ— lwn.net μ—μ„œ λ³Έ What every programmer should know about memoryκ°€ 생각났닀. Static RAM κ³Ό Dynamic RAM 의 μ†λ„μ°¨μ΄λŠ” μ™œ μ–΄λ–»κ²Œ λ°œμƒν•˜λŠ” κ²ƒμΌκΉŒμ— λŒ€ν•΄ μ•„μ£Ό μ˜€λž«λ™μ•ˆ κΆκΈˆν•΄ν•˜λ˜ 것을, νšŒλ‘œλ„λ₯Ό ν†΅ν•΄μ„œ μ§κ΄€μ μœΌλ‘œ 이해할 수 있게 ν•΄μ€˜μ„œ ꡉμž₯히 (...μΈμƒμ—μ„œ κ°€μž₯ 기뻀던 μˆœκ°„ 쀑 손에 꼽을 μ •λ„μ˜€λ‹€.) 기뻀던 기얡이 아직도 λ‚œλ‹€.

둜우레벨 μ»΄ν“¨νŒ…μ— λŒ€ν•œ μ΄μ•ΌκΈ°λŠ” λ‚΄ μ •μ‹  μ € λ°‘λ°”λ‹₯에 μžˆλŠ” "μ•„λ‹ˆ κ·ΈλŸ¬λ‹ˆκΉŒ μ™œλƒκ³ ?!" 의 μš•λ§μ„ 크게 ν•΄κ²°ν•΄μ£ΌλŠ” κ²½ν–₯이 μžˆμ–΄μ„œ μ’‹μ•„ν•œλ‹€.

그리고 λ§ˆμŠ€ν† λˆμ˜ κΈ°λ³Έ μ›Ή ν΄λΌμ΄μ–ΈνŠΈλŠ” λΈŒλΌμš°μ €λ“€μ΄ λ²ˆμ—­μ„ 정말 잘 λͺ»ν•œλ‹€-_-; μ›ΉνŽ˜μ΄μ§€μ˜ κΈ°λ³Έ μ–Έμ–΄κ°€ λΈŒλΌμš°μ € μ–Έμ–΄λ‘œ λ§žμΆ”μ–΄μ Έ 보여지고, κ·Έλž˜μ„œ λ²ˆμ—­ν•  ν•„μš”κ°€ μ—†λ‹€κ³  λΈŒλΌμš°μ €κ°€ νŒλ‹¨ν•΄μ„œ 그런 것 κ°™λ‹€κ³  μ΄ν•΄ν•˜κ³  μžˆλŠ”λ° 이 문제 μ–΄λ–»κ²Œ ν•΄κ²°ν•  방법이 μ—†μ„κΉŒ 흠 ' -' ...

0