René's URL Explorer Experiment


Title: 68000: Suggestion for additional DIVS/DIVU test cases · Issue #67 · SingleStepTests/ProcessorTests · GitHub

Open Graph Title: 68000: Suggestion for additional DIVS/DIVU test cases · Issue #67 · SingleStepTests/ProcessorTests

X Title: 68000: Suggestion for additional DIVS/DIVU test cases · Issue #67 · SingleStepTests/ProcessorTests

Description: I believe there are currently no test cases for either DIVS or DIVU where the quotient is zero. If I modify my 68k DIVS and DIVU implementations to hardcode the Z flag to false, it still passes all of the DIVS and DIVU test cases. I noti...

Open Graph Description: I believe there are currently no test cases for either DIVS or DIVU where the quotient is zero. If I modify my 68k DIVS and DIVU implementations to hardcode the Z flag to false, it still passes all...

X Description: I believe there are currently no test cases for either DIVS or DIVU where the quotient is zero. If I modify my 68k DIVS and DIVU implementations to hardcode the Z flag to false, it still passes all...

Opengraph URL: https://github.com/SingleStepTests/ProcessorTests/issues/67

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"68000: Suggestion for additional DIVS/DIVU test cases","articleBody":"I believe there are currently no test cases for either DIVS or DIVU where the quotient is zero. If I modify my 68k DIVS and DIVU implementations to hardcode the Z flag to false, it still passes all of the DIVS and DIVU test cases.\r\n\r\nI noticed this because I had a silly bug in my implementation where I was setting the Z flag based on the final 32-bit value written back to the register, when as I understand it the correct behavior is to set the Z flag purely based on the 16-bit quotient.\r\n\r\nAs an example, here is a mostly hand-crafted test case for DIVU that failed in my implementation before the bugfix (minus the bus transactions which I don't currently have a way to generate easily):\r\n```\r\n{\r\n  \"name\": \"80c1 [DIVU D1, D0] xxxx\",\r\n  \"initial\": {\r\n    \"d0\": 1,\r\n    \"d1\": 5,\r\n    \"d2\": 0,\r\n    \"d3\": 0,\r\n    \"d4\": 0,\r\n    \"d5\": 0,\r\n    \"d6\": 0,\r\n    \"d7\": 0,\r\n    \"a0\": 0,\r\n    \"a1\": 0,\r\n    \"a2\": 0,\r\n    \"a3\": 0,\r\n    \"a4\": 0,\r\n    \"a5\": 0,\r\n    \"a6\": 0,\r\n    \"usp\": 2763053352,\r\n    \"ssp\": 2048,\r\n    \"sr\": 9985,\r\n    \"pc\": 3072,\r\n    \"prefetch\": [\r\n      32961,\r\n      40692\r\n    ],\r\n    \"ram\": [\r\n      [\r\n        3077,\r\n        228\r\n      ],\r\n      [\r\n        3076,\r\n        74\r\n      ]\r\n    ]\r\n  },\r\n  \"final\": {\r\n    \"d0\": 65536,\r\n    \"d1\": 5,\r\n    \"d2\": 0,\r\n    \"d3\": 0,\r\n    \"d4\": 0,\r\n    \"d5\": 0,\r\n    \"d6\": 0,\r\n    \"d7\": 0,\r\n    \"a0\": 0,\r\n    \"a1\": 0,\r\n    \"a2\": 0,\r\n    \"a3\": 0,\r\n    \"a4\": 0,\r\n    \"a5\": 0,\r\n    \"a6\": 0,\r\n    \"usp\": 2763053352,\r\n    \"ssp\": 2048,\r\n    \"sr\": 9988,\r\n    \"pc\": 3074,\r\n    \"prefetch\": [\r\n      40692,\r\n      19098\r\n    ],\r\n    \"ram\": [\r\n      [\r\n        3077,\r\n        228\r\n      ],\r\n      [\r\n        3076,\r\n        74\r\n      ]\r\n    ]\r\n  },\r\n  \"length\": 136,\r\n  \"transactions\": []\r\n}\r\n```","author":{"url":"https://github.com/jsgroth","@type":"Person","name":"jsgroth"},"datePublished":"2023-10-18T22:45:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/67/ProcessorTests/issues/67"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f1b865d8-d81c-c024-661a-04f52368cdb7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id984E:BC6D1:8A237B1:BB79A49:6A4BA0D1
html-safe-noncefe825654adb8feb1c5c7748c8d3e2ed665b0cc946b7ccc935fa590a0aa9aabd7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODRFOkJDNkQxOjhBMjM3QjE6QkI3OUE0OTo2QTRCQTBEMSIsInZpc2l0b3JfaWQiOiIxMzYyNTg0MTQ3NzQ1NTg5MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb0281d38cd2e35c5b89615bc15344093ae076b04f32864f97ad80fc96cd2a531
hovercard-subject-tagissue:1950827859
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SingleStepTests/ProcessorTests/67/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e7f50d0bab7de6f6c742375d49cc853edab03cb1ce430081ed07f8fde37ccf37/SingleStepTests/ProcessorTests/issues/67
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e7f50d0bab7de6f6c742375d49cc853edab03cb1ce430081ed07f8fde37ccf37/SingleStepTests/ProcessorTests/issues/67
og:image:altI believe there are currently no test cases for either DIVS or DIVU where the quotient is zero. If I modify my 68k DIVS and DIVU implementations to hardcode the Z flag to false, it still passes all...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejsgroth
hostnamegithub.com
expected-hostnamegithub.com
Nonea7e470aeb8fedd833ae331b0a162f6c5a72c09b899dd94a7cd531e5e0e3a93d5
turbo-cache-controlno-preview
go-importgithub.com/SingleStepTests/ProcessorTests git https://github.com/SingleStepTests/ProcessorTests.git
octolytics-dimension-user_id169324964
octolytics-dimension-user_loginSingleStepTests
octolytics-dimension-repository_id409399462
octolytics-dimension-repository_nwoSingleStepTests/ProcessorTests
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id409399462
octolytics-dimension-repository_network_root_nwoSingleStepTests/ProcessorTests
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ad79fae8b165db9a62b2142d969fa7b21eedcf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SingleStepTests/ProcessorTests/issues/67#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSingleStepTests%2FProcessorTests%2Fissues%2F67
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSingleStepTests%2FProcessorTests%2Fissues%2F67
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=SingleStepTests%2FProcessorTests
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/67
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/67
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/67
Please reload this pagehttps://github.com/SingleStepTests/ProcessorTests/issues/67
SingleStepTests https://github.com/SingleStepTests
ProcessorTestshttps://github.com/SingleStepTests/ProcessorTests
Notifications https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Fork 14 https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Star 250 https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Code https://github.com/SingleStepTests/ProcessorTests
Issues 13 https://github.com/SingleStepTests/ProcessorTests/issues
Pull requests 0 https://github.com/SingleStepTests/ProcessorTests/pulls
Actions https://github.com/SingleStepTests/ProcessorTests/actions
Security and quality 0 https://github.com/SingleStepTests/ProcessorTests/security
Insights https://github.com/SingleStepTests/ProcessorTests/pulse
Code https://github.com/SingleStepTests/ProcessorTests
Issues https://github.com/SingleStepTests/ProcessorTests/issues
Pull requests https://github.com/SingleStepTests/ProcessorTests/pulls
Actions https://github.com/SingleStepTests/ProcessorTests/actions
Security and quality https://github.com/SingleStepTests/ProcessorTests/security
Insights https://github.com/SingleStepTests/ProcessorTests/pulse
68000: Suggestion for additional DIVS/DIVU test caseshttps://github.com/SingleStepTests/ProcessorTests/issues/67#top
https://github.com/jsgroth
jsgrothhttps://github.com/jsgroth
on Oct 18, 2023https://github.com/SingleStepTests/ProcessorTests/issues/67#issue-1950827859
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.