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 Trendler
- 1. George Santos 8,602 posts
- 2. Prince Andrew 40.5K posts
- 3. No Kings 297K posts
- 4. #askdave N/A
- 5. Duke of York 17.5K posts
- 6. Louisville 5,224 posts
- 7. #BostonBlue 1,102 posts
- 8. Gio Ruggiero N/A
- 9. Norm Benning N/A
- 10. Zelensky 85.6K posts
- 11. Rajah N/A
- 12. Teto 19K posts
- 13. Andrea Bocelli 25K posts
- 14. Arc Raiders 7,800 posts
- 15. #DoritosF1 N/A
- 16. Strasbourg 30.1K posts
- 17. #iwcselfieday N/A
- 18. Max Verstappen 10.8K posts
- 19. #SELFIESFOROLIVIA N/A
- 20. Chandler Smith N/A
Something went wrong.
Something went wrong.