Skip to content

Commit

Permalink
Add 4 new instructions
Browse files Browse the repository at this point in the history
CPU_FEATURE_CPB,	Core performance boost
CPU_FEATURE_APERFMPERF,	MPERF/APERF MSRs support
CPU_FEATURE_PFI,	Processor Feedback Interface support
CPU_FEATURE_PA,		Processor accumulator
  • Loading branch information
eloaders committed Jun 30, 2014
1 parent fd4c36d commit 5b2259d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
32 changes: 32 additions & 0 deletions JSON/i-nex-cpuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,38 @@ int main(void)
printf(" \"WEBSITE\": \"http://en.wikipedia.org/wiki/Memory_type_range_register\",\n");
printf(" \"HAVEWEBSITE\": 1 ,\n");
printf(" \"DESC\": \"Memory type range registers\"\n");
printf(" },\n");
printf(" \"95\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_CPB] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_CPB\",\n");
printf(" \"FEATURE\": \"cpb\",\n");
printf(" \"WEBSITE\": \"\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"DESC\": \"Core performance boost\"\n");
printf(" },\n");
printf(" \"96\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_APERFMPERF] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_APERFMPERF\",\n");
printf(" \"FEATURE\": \"mtrr\",\n");
printf(" \"WEBSITE\": \"aperfmperf\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"DESC\": \"MPERF/APERF MSRs support\"\n");
printf(" },\n");
printf(" \"97\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_PFI] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_PFI\",\n");
printf(" \"FEATURE\": \"pfi\",\n");
printf(" \"WEBSITE\": \"\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"DESC\": \"Processor Feedback Interface support\"\n");
printf(" },\n");
printf(" \"98\": {\n");
printf(" \"VALUE\": %s \n", data.flags[CPU_FEATURE_PA] ? "1 ," : "0 ,");
printf(" \"NAME\": \"CPU_FEATURE_PA\",\n");
printf(" \"FEATURE\": \"mtrr\",\n");
printf(" \"WEBSITE\": \"\",\n");
printf(" \"HAVEWEBSITE\": 0 ,\n");
printf(" \"DESC\": \"Processor accumulator\"\n");
printf(" }\n");
printf(" },\n");
printf(" \"L1_DATA_CACHE\": \"%d\",\n", data.l1_data_cache);
Expand Down
10 changes: 5 additions & 5 deletions src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Private ToolButton[95] As ToolButton
Private Label[95] As Label ' Dim the array of controls
Private Button[95] As Button
Private TextLabel[95] As TextLabel
Private ToolButton[99] As ToolButton
Private Label[99] As Label ' Dim the array of controls
Private Button[99] As Button
Private TextLabel[99] As TextLabel
Private YESNO As Picture
Public AllowLog As Boolean
Public sLine As String
Expand Down Expand Up @@ -106,7 +106,7 @@ Public Sub Form_Open()
Label219.Text = "SSE Size: " & DATAT["SSE_SIZE"]

Logs("Create Labels ToolButtons TextLabels in ScrollView1", Logger.Info)
For i = 1 To 94
For i = 1 To 98
Label[i] = New Label(ScrollView1)
ToolButton[i] = New ToolButton(ScrollView1)
Button[i] = New Button(ScrollView1) As "Buttongroup"
Expand Down

0 comments on commit 5b2259d

Please sign in to comment.