I just wrote a blog post about how the modern AVX instruction vpternlogd shares a similar design with a 1985 Amiga blitter chip. Even Amiga programmers will be interested in a simple method to finally get that damn "minterm" value! arnaud-carre.github.io/2024-10-06-vpt… #avx #amiga #demoscene
Interesting! I’ve always assembled the minterm that way: “A is the mask, if it’s set, copy B, otherwise C” etc. It’s somehow satisfying to piece it together like that, one bit position at a time🙂(complete with the lil’ ASCII art, which I must have copied a hundred times by now)
That’s interesting! I’m very far behind in intel assembly so I had no idea that instruction existed, but the same sort of thing exists in microcontrollers with simple configurable logic. It also took me a while to figure out you’re just setting a lookup table! Very flexible.
That’s a great article. I never used the E2 function for cookie cutting sprites, i always used CA as suggested by the HRM, with the mask data in channel A.
United States Tren
- 1. Good Monday 30.7K posts
- 2. #MondayMotivation 33.1K posts
- 3. Rudy Giuliani 18.6K posts
- 4. Happy Birthday Marines 4,102 posts
- 5. #Talus_Labs N/A
- 6. #MondayVibes 2,146 posts
- 7. Pond 172K posts
- 8. Semper Fi 4,128 posts
- 9. #MondayMorning 1,332 posts
- 10. United States Marine Corps 4,684 posts
- 11. Happy New Week 47.8K posts
- 12. The BBC 447K posts
- 13. 8 Democrats 12K posts
- 14. Mark Meadows 17.5K posts
- 15. Resign 120K posts
- 16. #ITZY_TUNNELVISION 40.2K posts
- 17. Steelers 54.7K posts
- 18. Tim Kaine 27.1K posts
- 19. Ghislaine Maxwell 6,010 posts
- 20. Sidney Powell 11.2K posts
Something went wrong.
Something went wrong.