Reverse-engineering a vintage comparator chip
righto.com
righto.com
Unfortunately this is the type of thing that Google is absolutely horrible for finding information about, although it wasn't that bad a decade or two ago. Asking on some electronics forums might also get some better suggestions or even an exact ID.
I doubt the "P" is for "Philips" but just indicates Pin 1.
What's the upper limit to analyzing a chip like this? How complex or small can the components get before it's not feasible?
Companies that do chip analysis commercially, and have tools such as electron microscopes, can process much more complex chips. The limit for them is probably how much you're willing to pay.
https://www.ebay.com/itm/OQ-1xx-Vintage-GOLD-ceramic-IC-for-...