• bee_rider 2 hours ago

    Oh dang, branch hints. I always thought they were so obvious, and never implemented, so they must be obviously bad. But, Intel is giving them a shot. Neat!

    • pclmulqdq an hour ago

      Giving them another shot. Pentium 4 had them, but there were some skill issues on the part of programmers using them, and so code quality rose when CPUs started ignoring them.

      • IshKebab 13 minutes ago

        Do compilers even generate these hints?

      • yjftsjthsd-h 2 hours ago

        IIRC, SPARC also used them, which... probably suggests that it's not totally terrible.

        • duskwuff an hour ago

          I believe PowerPC had them as well. No idea how effective they were.

          • seanmcdirmid an hour ago

            I took computer architecture in the mid-late-90s and branch hints were talked about as a thing that was being done.

      • zdw 7 hours ago

        "AI has been very popular among people wishing they had seven fingers on each hand instead of five"

        • ForOldHack 43 minutes ago

          But most unfortunate for Numbers. We have 4 fingers, making binary capabilities, now if we had 60 fingers... then it would be a different story. With 5 fingers on each hand, and two hands, that is the product of two primes, and with 7 fingers on 3 hands, also the product of two primes... You have something to look forward to in Genetic Engineering 2077. Eight fingers on 4 hands? Personally, my fingers count only to 1023, and have for decades.

          The article points out specific use of specific techniques to probe cache and other efficiencies, which is valuable.

          • bravetraveler 5 hours ago

            Think of how much more you could get done

            • Rinzler89 3 hours ago

              I call it "the stranger".

            • LeoPanthera 4 hours ago

              People downvoting you probably don't realise this is a direct quote from the article. Maybe if you had written some actual comment, too...

              • zdw 3 hours ago

                Sorry about no additional comment, I couldn't think of something clever that included an Inigo Montoya reference...

                • roenxi 2 hours ago

                  It was a no-content throwaway comment in the article too; highlighting it on HN is pointless. I doubt the downvoters would care much whether it was in the article or not.